PHP Class Respect\Validation\Validator

Inheritance: extends Respect\Validation\Rules\AllOf
Afficher le fichier Open project: respect/validation Class Usage Examples

Protected Properties

Свойство Type Description
$factory

Méthodes publiques

Méthode Description
__call ( string $method, array $arguments ) : self
__callStatic ( string $ruleName, array $arguments ) : Validator
buildRule ( mixed $ruleSpec, array $arguments = [] ) : Respect\Validation\Validatable
check ( $input )
create ( ) : Validator Create instance validator.
setFactory ( Factory $factory )
with ( string $rulePrefix, boolean $prepend = false )

Méthodes protégées

Méthode Description
createException ( )
getFactory ( ) : Factory

Method Details

__call() public méthode

public __call ( string $method, array $arguments ) : self
$method string
$arguments array
Résultat self

__callStatic() public static méthode

public static __callStatic ( string $ruleName, array $arguments ) : Validator
$ruleName string
$arguments array
Résultat Validator

buildRule() public static méthode

public static buildRule ( mixed $ruleSpec, array $arguments = [] ) : Respect\Validation\Validatable
$ruleSpec mixed
$arguments array
Résultat Respect\Validation\Validatable

check() public méthode

public check ( $input )

create() public static méthode

Create instance validator.
public static create ( ) : Validator
Résultat Validator

createException() protected méthode

protected createException ( )

getFactory() protected static méthode

protected static getFactory ( ) : Factory
Résultat Factory

setFactory() public static méthode

public static setFactory ( Factory $factory )
$factory Factory

with() public static méthode

public static with ( string $rulePrefix, boolean $prepend = false )
$rulePrefix string
$prepend boolean

Property Details

$factory protected_oe static_oe property

protected static $factory