Property | Type | Description | |
---|---|---|---|
$recipe | |||
$recipeForm |
Method | Description | |
---|---|---|
__construct ( App\Repositories\Recipe\RecipeInterface $recipe, |
Create a new controller instance. | |
create ( ) : Response | Show the form for creating a new resource. | |
destroy ( |
Remove the specified resource from storage. | |
edit ( |
Show the form for editing the specified resource. | |
index ( Illuminate\Http\Request $request ) : Response | Display a listing of the resource. | |
show ( |
Display the specified resource. | |
store ( Illuminate\Http\Request $request ) : Response | Store a newly created resource in storage. | |
update ( Illuminate\Http\Request $request, |
Update the specified resource in storage. |
public __construct ( App\Repositories\Recipe\RecipeInterface $recipe, |
||
$recipe | App\Repositories\Recipe\RecipeInterface | |
$recipeForm | ||
return | void |
public create ( ) : Response | ||
return | Response |
public destroy ( |
||
$recipe | ||
return | Response |
public edit ( |
||
$recipe | ||
return | Response |
public index ( Illuminate\Http\Request $request ) : Response | ||
$request | Illuminate\Http\Request | |
return | Response |
public show ( |
||
$recipe | ||
return | Response |
public store ( Illuminate\Http\Request $request ) : Response | ||
$request | Illuminate\Http\Request | |
return | Response |
public update ( Illuminate\Http\Request $request, |
||
$request | Illuminate\Http\Request | |
$recipe | ||
return | Response |