App\Services\Form\Recipe\RecipeForm::__construct PHP Метод

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

Create a new form service instance.
public __construct ( App\Services\Validation\ValidableInterface $validator, App\Repositories\Recipe\RecipeInterface $recipe ) : void
$validator App\Services\Validation\ValidableInterface
$recipe App\Repositories\Recipe\RecipeInterface
Результат void
    public function __construct(ValidableInterface $validator, RecipeInterface $recipe)
    {
        $this->validator = $validator;
        $this->recipe = $recipe;
    }