Méthode | Description | |
---|---|---|
arrayOf ( array | integer $definition, integer $flags ) : stdClass | ||
disableValidation ( ) | Disables config validation | |
enableValidation ( $allowCustomOptions = true ) | Enable deep config validation (disabled by default because it creates significant performance overhead). | |
map ( array $definition, integer $flags ) : stdClass | ||
validate ( array $config, array $definition ) | ||
validateField ( $typeName, array $config, array $definition ) |
Méthode | Description | |
---|---|---|
getFlags ( $def ) : mixed | ||
validateEntry ( $typeName, $key, $value, $def, $pathStr ) | ||
validateMap ( $typeName, array $map, array $definitions, null $pathStr = null ) |
public static disableValidation ( ) |
public static enableValidation ( $allowCustomOptions = true ) |
public static validateField ( $typeName, array $config, array $definition ) | ||
$typeName | ||
$config | array | |
$definition | array |