PHP Класс spec\Laracasts\Validation\FormValidatorSpec

Наследование: extends PhpSpec\ObjectBehavior
Показать файл Открыть проект

Открытые методы

Метод Описание
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 )

Описание методов

it_accepts_a_command_object_in_lieu_of_an_input_array() публичный Метод

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 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 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 let ( Laracasts\Validation\FactoryInterface $validatorFactory )
$validatorFactory Laracasts\Validation\FactoryInterface