Method |
Description |
|
addRule ( $name, callable $rule ) |
|
|
allRules ( ) |
|
|
append ( &$arr, $items ) |
|
|
defaultRules ( ) |
|
|
getRule ( $name ) |
|
|
isError ( $value ) |
|
|
isValidLiteralValue ( Type $type, $valueNode ) : array |
Utility for validators which determines if a value literal AST is valid given
an input type. |
|
validate ( Schema $schema, DocumentNode $ast, array $rules = null ) |
|
|
visitUsingRules ( Schema $schema, TypeInfo $typeInfo, DocumentNode $documentNode, array $rules ) : array |
This uses a specialized visitor which runs multiple visitors in parallel,
while maintaining the visitor skip and break API. |
|