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

aBoolSchema

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

class

aBoolSchema

BoolSchema.php:12

Base for the two JSON-Schema boolean schemas (TrueSchema/FalseSchema) -- a JSON Schema document can itself be the literal true (accept everything) or false (reject everything) instead of an object with keywords, and these two singleton classes implement that.

abstract class MMO\core\schemas\aBoolSchema implements MMO\core\interfaces\iBoolSchema
Espace de noms
MMO\core\schemas
Implémente
iBoolSchema

Méthodes4

getDefault()

BoolSchema.php:16
function getDefault(): mixed
retournemixeda bool schema never has a default value.
Membres hérités (3)
MéthodesDéclaré parDescription
coerce($value, $opts)iSchema
jsonSerialize()JsonSerializable
validate($value, $errors)iSchema