PHP Class App\Http\Controllers\Backend\EventController

Inheritance: extends BaseController
Datei anzeigen Open project: qloog/laravel5-backend

Public Methods

Method Description
__construct ( App\Contracts\Repositories\EventRepository $repository )
create ( ) : Illuminate\Http\Response Show the form for creating a new resource.
destroy ( integer $id ) : Illuminate\Http\Response Remove the specified resource from storage.
edit ( integer $id ) : Illuminate\Http\Response Show the form for editing the specified resource.
index ( ) : Illuminate\Http\Response Display a listing of the resource.
show ( integer $id ) : Illuminate\Http\Response Display the specified resource.
store ( EventCreateRequest $request ) : Illuminate\Http\Response Store a newly created resource in storage.
update ( App\Http\Requests\Backend\EventUpdateRequest $request, integer $id ) : Illuminate\Http\Response Update the specified resource in storage.

Method Details

__construct() public method

public __construct ( App\Contracts\Repositories\EventRepository $repository )
$repository App\Contracts\Repositories\EventRepository

create() public method

Show the form for creating a new resource.
public create ( ) : Illuminate\Http\Response
return Illuminate\Http\Response

destroy() public method

Remove the specified resource from storage.
public destroy ( integer $id ) : Illuminate\Http\Response
$id integer
return Illuminate\Http\Response

edit() public method

Show the form for editing the specified resource.
public edit ( integer $id ) : Illuminate\Http\Response
$id integer
return Illuminate\Http\Response

index() public method

Display a listing of the resource.
public index ( ) : Illuminate\Http\Response
return Illuminate\Http\Response

show() public method

Display the specified resource.
public show ( integer $id ) : Illuminate\Http\Response
$id integer
return Illuminate\Http\Response

store() public method

Store a newly created resource in storage.
public store ( EventCreateRequest $request ) : Illuminate\Http\Response
$request App\Http\Requests\Backend\EventCreateRequest
return Illuminate\Http\Response

update() public method

Update the specified resource in storage.
public update ( App\Http\Requests\Backend\EventUpdateRequest $request, integer $id ) : Illuminate\Http\Response
$request App\Http\Requests\Backend\EventUpdateRequest
$id integer
return Illuminate\Http\Response