Property | Type | Description | |
---|---|---|---|
$recipe | |||
$validator |
Method | Description | |
---|---|---|
__construct ( App\Services\Validation\ValidableInterface $validator, App\Repositories\Recipe\RecipeInterface $recipe ) : void | Create a new form service instance. | |
errors ( ) : array | Return validation errors. | |
save ( array $input ) : boolean | Create a new recipe. | |
update ( array $input ) : boolean | Update an existing recipe. |
Method | Description | |
---|---|---|
valid ( array $input ) : boolean | Test whether form validator passes. |
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 |