Index

aBoolSchema

MMO\core\schemas · 1 symbol · generated 5 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
Namespace
MMO\core\schemas
Implements
iBoolSchema

Methods4

Inherited members (3)
MethodsDeclared byDescription
coerce($value, $opts)iSchema
jsonSerialize()JsonSerializable
validate($value, $errors)iSchema