MMOframework
Pourquoi l'IA Playground Bibliothèques Documentation Rechercher Agence
FR EN
Index

FalseSchema

MMO\core\schemas · 1 symbole · générée le 27 Oct 2026

class

FalseSchema

BoolSchema.php:56

The false JSON Schema: no value is valid, and coercion always fails.

class MMO\core\schemas\FalseSchema extends MMO\core\schemas\aBoolSchema
Espace de noms
MMO\core\schemas
Étend
aBoolSchema

Méthodes4

coerce($value, $opts)

BoolSchema.php:58
function coerce(mixed $value, array $opts = []): mixed
$valuemixed
$opts = []array
retournemixed
lèvealways -- a rejecting schema has no value it could possibly coerce to.

jsonSerialize($opts)

BoolSchema.php:68
function jsonSerialize(array $opts = []): mixed
$opts = []array
retournemixedliterally false (this schema's own JSON representation).
Membres hérités (4)
MéthodesDéclaré parDescription
createValidator($value)aBoolSchema
getDefault()aBoolSchema
hasDefault()aBoolSchema
__construct()aBoolSchema