PHP Class Yab\Quarx\Controllers\MenuController

Inheritance: extends QuarxController
Datei anzeigen Open project: YABhq/Quarx

Public Methods

Method Description
__construct ( MenuRepository $menuRepo, LinkRepository $linkRepo )
create ( ) : Response Show the form for creating a new Menu.
destroy ( integer $id ) : Response Remove the specified Menu from storage.
edit ( integer $id ) : Response Show the form for editing the specified Menu.
index ( ) : Response Display a listing of the Menu.
search ( Illuminate\Http\Request $request ) : Response Search.
store ( Illuminate\Http\Request $request ) : Response Store a newly created Menu in storage.
update ( integer $id, MenuRequest $request ) : Response Update the specified Menu in storage.

Method Details

__construct() public method

public __construct ( MenuRepository $menuRepo, LinkRepository $linkRepo )
$menuRepo Yab\Quarx\Repositories\MenuRepository
$linkRepo Yab\Quarx\Repositories\LinkRepository

create() public method

Show the form for creating a new Menu.
public create ( ) : Response
return Response

destroy() public method

Remove the specified Menu from storage.
public destroy ( integer $id ) : Response
$id integer
return Response

edit() public method

Show the form for editing the specified Menu.
public edit ( integer $id ) : Response
$id integer
return Response

index() public method

Display a listing of the Menu.
public index ( ) : Response
return Response

store() public method

Store a newly created Menu in storage.
public store ( Illuminate\Http\Request $request ) : Response
$request Illuminate\Http\Request
return Response

update() public method

Update the specified Menu in storage.
public update ( integer $id, MenuRequest $request ) : Response
$id integer
$request Yab\Quarx\Requests\MenuRequest
return Response