Index

TrueSchema

MMO\core\schemas · 1 symbol · generated 5 Oct 2026

class

TrueSchema

BoolSchema.php:30

The true JSON Schema: every value is valid, and coercion is a no-op.

class MMO\core\schemas\TrueSchema extends MMO\core\schemas\aBoolSchema
Namespace
MMO\core\schemas
Extends
aBoolSchema

Methods4

jsonSerialize($opts)

BoolSchema.php:42
function jsonSerialize(array $opts = []): mixed
$opts = []array
returnsmixedliterally true (this schema's own JSON representation).
Inherited members (4)
MethodsDeclared byDescription
createValidator($value)aBoolSchema
getDefault()aBoolSchema
hasDefault()aBoolSchema
__construct()aBoolSchema