PHP Class Respect\Validation\Rules\AbstractRelated

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

Méthodes publiques

Свойство Type Description
$mandatory
$reference
$validator

Méthodes publiques

Méthode Description
__construct ( $reference, Respect\Validation\Validatable $validator = null, $mandatory = true )
assert ( $input )
check ( $input )
getReferenceValue ( $input )
hasReference ( $input )
setName ( $name )
validate ( $input )

Private Methods

Méthode Description
decision ( $type, $hasReference, $input )

Method Details

__construct() public méthode

public __construct ( $reference, Respect\Validation\Validatable $validator = null, $mandatory = true )
$validator Respect\Validation\Validatable

assert() public méthode

public assert ( $input )

check() public méthode

public check ( $input )

getReferenceValue() abstract public méthode

abstract public getReferenceValue ( $input )

hasReference() abstract public méthode

abstract public hasReference ( $input )

setName() public méthode

public setName ( $name )

validate() public méthode

public validate ( $input )

Property Details

$mandatory public_oe property

public $mandatory

$reference public_oe property

public $reference

$validator public_oe property

public $validator