Свойство | Type | Description | |
---|---|---|---|
$extraFieldsAllowed | |||
$instance | |||
$rules | |||
$validationRules | Youshido\GraphQL\Validator\ConfigValidator\Rules\ValidationRuleInterface[] |
Méthode | Description | |
---|---|---|
addRule ( $name, Youshido\GraphQL\Validator\ConfigValidator\Rules\ValidationRuleInterface $rule ) | ||
assertValidConfig ( |
||
getInstance ( ) : |
||
isExtraFieldsAllowed ( ) : boolean | ||
isValid ( ) | ||
isValidConfig ( |
||
setExtraFieldsAllowed ( boolean $extraFieldsAllowed ) : |
||
validate ( $data, $rules = [], $extraFieldsAllowed = null ) |
Méthode | Description | |
---|---|---|
getConfigFinalRules ( |
||
initializeRules ( ) |
Méthode | Description | |
---|---|---|
__construct ( ) |
public addRule ( $name, Youshido\GraphQL\Validator\ConfigValidator\Rules\ValidationRuleInterface $rule ) | ||
$rule | Youshido\GraphQL\Validator\ConfigValidator\Rules\ValidationRuleInterface |
public assertValidConfig ( |
||
$config |
protected getConfigFinalRules ( |
||
$config |
public static getInstance ( ) : |
||
Résultat |
public isValidConfig ( |
||
$config |
public setExtraFieldsAllowed ( boolean $extraFieldsAllowed ) : |
||
$extraFieldsAllowed | boolean | |
Résultat |
protected static ConfigValidator,Youshido\GraphQL\Validator\ConfigValidator $instance | ||
Résultat |