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;
    }