Property | Type | Description | |
---|---|---|---|
$rawRules | List raw rules. | ||
$recursive | boolean | Enable recursive mode. | |
$remainder | string | Label remainder. | |
$rules | array | List rules. |
Method | Description | |
---|---|---|
__call ( $name, $arguments ) | ||
__callStatic ( $name, $arguments ) | ||
existsRule ( string $name ) : boolean | Exists rule. | |
getRawRules ( ) : |
||
init ( ) | ||
parentCall ( ) | ||
sanitize ( mixed $input ) : mixed | Sanitize value. | |
setRecursive ( boolean $enable ) | Enable recursive mode. | |
setRemainder ( string $label ) | Sets a label remainder. | |
setRules ( array $rules ) | Sets a list rules. |
Method | Description | |
---|---|---|
attributesInternal ( $attributes ) | ||
defaultRules ( ) | ||
getInstance ( ) : static | Returns instance. | |
getInstanceRule ( string $name, array $arguments ) : |
Returns instance rule. | |
recursiveInternal ( $enable = true ) | ||
rulesInternal ( array $rules ) |
public existsRule ( string $name ) : boolean | ||
$name | string | name of rule. |
return | boolean |
protected static getInstance ( ) : static | ||
return | static |
protected getInstanceRule ( string $name, array $arguments ) : |
||
$name | string | name of rule |
$arguments | array | |
return |
public setRecursive ( boolean $enable ) | ||
$enable | boolean |
public setRemainder ( string $label ) | ||
$label | string |
protected Rule[],rock\sanitize\rules $rawRules | ||
return |