|
static | createCanonicalValidator ( $type) |
| Uses function-schemata SchemaFactory to create a canonical validator for a given type, and wraps the SchemaWrapper validate function with other utilities to read and parse Opis errors and convert them to system ZErrors.
|
|
static | createNormalValidator ( $type) |
| Uses function-schemata SchemaFactory to create a normal validator for a given type, and wraps the SchemaWrapper validate function with other utilities to read and parse Opis errors and convert them to system ZErrors.
|
|
◆ createCanonicalValidator()
static MediaWiki\Extension\WikiLambda\Validation\ZObjectStructureValidator::createCanonicalValidator |
( |
| $type | ) |
|
|
static |
Uses function-schemata SchemaFactory to create a canonical validator for a given type, and wraps the SchemaWrapper validate function with other utilities to read and parse Opis errors and convert them to system ZErrors.
- Parameters
-
- Returns
- ZObjectStructureValidator
- Exceptions
-
◆ createNormalValidator()
static MediaWiki\Extension\WikiLambda\Validation\ZObjectStructureValidator::createNormalValidator |
( |
| $type | ) |
|
|
static |
Uses function-schemata SchemaFactory to create a normal validator for a given type, and wraps the SchemaWrapper validate function with other utilities to read and parse Opis errors and convert them to system ZErrors.
- Parameters
-
- Returns
- ZObjectStructureValidator
- Exceptions
-
◆ validate()
MediaWiki\Extension\WikiLambda\Validation\ZObjectStructureValidator::validate |
( |
| $input | ) |
|
- Parameters
-
- Returns
- ValidationStatus
The documentation for this class was generated from the following file: