PHP Class spec\Laracasts\Validation\FormValidatorSpec

Inheritance: extends PhpSpec\ObjectBehavior
Datei anzeigen Open project: laracasts/validation

Public Methods

Method Description
it_accepts_a_command_object_in_lieu_of_an_input_array ( Laracasts\Validation\FactoryInterface $validatorFactory, Laracasts\Validation\ValidatorInterface $validator )
it_throws_an_exception_for_invalid_form_data ( Laracasts\Validation\FactoryInterface $validatorFactory, Laracasts\Validation\ValidatorInterface $validator )
it_validates_a_set_of_valid_data ( Laracasts\Validation\FactoryInterface $validatorFactory, Laracasts\Validation\ValidatorInterface $validator )
let ( Laracasts\Validation\FactoryInterface $validatorFactory )

Method Details

it_accepts_a_command_object_in_lieu_of_an_input_array() public method

public it_accepts_a_command_object_in_lieu_of_an_input_array ( Laracasts\Validation\FactoryInterface $validatorFactory, Laracasts\Validation\ValidatorInterface $validator )
$validatorFactory Laracasts\Validation\FactoryInterface
$validator Laracasts\Validation\ValidatorInterface

it_throws_an_exception_for_invalid_form_data() public method

public it_throws_an_exception_for_invalid_form_data ( Laracasts\Validation\FactoryInterface $validatorFactory, Laracasts\Validation\ValidatorInterface $validator )
$validatorFactory Laracasts\Validation\FactoryInterface
$validator Laracasts\Validation\ValidatorInterface

it_validates_a_set_of_valid_data() public method

public it_validates_a_set_of_valid_data ( Laracasts\Validation\FactoryInterface $validatorFactory, Laracasts\Validation\ValidatorInterface $validator )
$validatorFactory Laracasts\Validation\FactoryInterface
$validator Laracasts\Validation\ValidatorInterface

let() public method

public let ( Laracasts\Validation\FactoryInterface $validatorFactory )
$validatorFactory Laracasts\Validation\FactoryInterface