PHP Interface App\Services\Validation\ValidableInterface

Datei anzeigen Open project: ngmy/webloyer

Public Methods

Method 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 method

Return validation errors.
public errors ( ) : array
return array

passes() public method

Test whether passes validation.
public passes ( ) : boolean
return boolean

with() public method

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