PHP Interface App\Services\Validation\ValidableInterface

Afficher le fichier Open project: ngmy/webloyer

Méthodes publiques

Méthode Description
errors ( ) : array Return validation errors.
passes ( ) : boolean Test whether passes validation.
with ( array $input ) : App\Services\Validation\ValidableInterface Add data to validation.

Method Details

errors() public méthode

Return validation errors.
public errors ( ) : array
Résultat array

passes() public méthode

Test whether passes validation.
public passes ( ) : boolean
Résultat boolean

with() public méthode

Add data to validation.
public with ( array $input ) : App\Services\Validation\ValidableInterface
$input array
Résultat App\Services\Validation\ValidableInterface $this