Property | Type | Description | |
---|---|---|---|
$mapping | Mapping of namespaces to validators. |
Method | Description | |
---|---|---|
__construct ( |
||
addValidator ( string $namespace, |
Adds validator mapping. | |
dispatch ( DOMDocument $document ) : string[] | Dispatches DOMDocument to the namespace mapped validator. |
public __construct ( |
||
$validatorMap |
public addValidator ( string $namespace, |
||
$namespace | string | |
$validator |
public dispatch ( DOMDocument $document ) : string[] | ||
$document | DOMDocument | |
return | string[] |