App\Services\Form\Recipe\RecipeForm::__construct PHP Method

__construct() public method

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
return void
    public function __construct(ValidableInterface $validator, RecipeInterface $recipe)
    {
        $this->validator = $validator;
        $this->recipe = $recipe;
    }