Свойство | Тип | Описание | |
---|---|---|---|
$extraFieldsAllowed | |||
$instance | |||
$rules | |||
$validationRules | Youshido\GraphQL\Validator\ConfigValidator\Rules\ValidationRuleInterface[] |
Метод | Описание | |
---|---|---|
addRule ( $name, Youshido\GraphQL\Validator\ConfigValidator\Rules\ValidationRuleInterface $rule ) | ||
assertValidConfig ( |
||
getInstance ( ) : |
||
isExtraFieldsAllowed ( ) : boolean | ||
isValid ( ) | ||
isValidConfig ( |
||
setExtraFieldsAllowed ( boolean $extraFieldsAllowed ) : |
||
validate ( $data, $rules = [], $extraFieldsAllowed = null ) |
Метод | Описание | |
---|---|---|
getConfigFinalRules ( |
||
initializeRules ( ) |
Метод | Описание | |
---|---|---|
__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 ( ) : |
||
Результат |
public isValidConfig ( |
||
$config |
public setExtraFieldsAllowed ( boolean $extraFieldsAllowed ) : |
||
$extraFieldsAllowed | boolean | |
Результат |
protected static ConfigValidator,Youshido\GraphQL\Validator\ConfigValidator $instance | ||
Результат |