TrueSchema
MMO\core\schemas · 1 symbol · generated 5 Oct 2026
TrueSchema
BoolSchema.php:30The true JSON Schema: every value is valid, and coercion is a no-op.
- Namespace
MMO\core\schemas- Extends
- aBoolSchema
Methods4
coerce($value, $opts)
BoolSchema.php:37jsonSerialize($opts)
BoolSchema.php:42Shared()
staticBoolSchema.php:47| returns | self | the shared singleton instance. |
validate($value, $errors)
BoolSchema.php:32Inherited members (4)
| Methods | Declared by | Description | |
|---|---|---|---|
createValidator($value) | aBoolSchema | ||
getDefault() | aBoolSchema | ||
hasDefault() | aBoolSchema | ||
__construct() | aBoolSchema |