|
| parse ( $schemaSpec) |
|
| create ( $ZID) |
| Creates a SchemaWrapper that validates the normalized form of the provided type.
|
|
◆ create()
MediaWiki\Extension\WikiLambda\Validation\SchemaFactory::create |
( |
| $ZID | ) |
|
Creates a SchemaWrapper that validates the normalized form of the provided type.
- Parameters
-
- Returns
- SchemaWrapper|null
◆ getCanonicalFormFactory()
static MediaWiki\Extension\WikiLambda\Validation\SchemaFactory::getCanonicalFormFactory |
( |
| $loader = null | ) |
|
|
static |
Creates a SchemaFactory for canonical-form ZObjects.
- Parameters
-
string | null | $loader | Which loader to use |
- Returns
- SchemaFactory
◆ getNormalFormFactory()
static MediaWiki\Extension\WikiLambda\Validation\SchemaFactory::getNormalFormFactory |
( |
| $loader = null | ) |
|
|
static |
Creates a SchemaFactory for normal-form ZObjects.
- Parameters
-
ISchemaLoader | null | $loader | Which loader to use |
- Returns
- SchemaFactory
◆ getStandAloneFactory()
static MediaWiki\Extension\WikiLambda\Validation\SchemaFactory::getStandAloneFactory |
( |
| ) |
|
|
static |
Creates a SchemaFactory for parsing standalone schemata (no external refs).
- Returns
- SchemaFactory
◆ parse()
MediaWiki\Extension\WikiLambda\Validation\SchemaFactory::parse |
( |
| $schemaSpec | ) |
|
- Parameters
-
- Returns
- SchemaWrapper
The documentation for this class was generated from the following file: