PHP Class App\Http\Controllers\Backend\CommentController

Inheritance: extends BaseController
Afficher le fichier Open project: qloog/laravel5-backend

Méthodes publiques

Méthode Description
__construct ( $repository = '' )
create ( ) : Response Show the form for creating a new resource.
destroy ( integer $id ) : Response Remove the specified resource from storage.
edit ( integer $id ) : Response Show the form for editing the specified resource.
index ( ) : Response Display a listing of the resource.
show ( integer $id ) : Response Display the specified resource.
store ( Illuminate\Http\Request $request ) : Response Store a newly created resource in storage.
update ( Illuminate\Http\Request $request, integer $id ) : Response Update the specified resource in storage.

Method Details

__construct() public méthode

public __construct ( $repository = '' )

create() public méthode

Show the form for creating a new resource.
public create ( ) : Response
Résultat Dingo\Api\Http\Response

destroy() public méthode

Remove the specified resource from storage.
public destroy ( integer $id ) : Response
$id integer
Résultat Dingo\Api\Http\Response

edit() public méthode

Show the form for editing the specified resource.
public edit ( integer $id ) : Response
$id integer
Résultat Dingo\Api\Http\Response

index() public méthode

Display a listing of the resource.
public index ( ) : Response
Résultat Dingo\Api\Http\Response

show() public méthode

Display the specified resource.
public show ( integer $id ) : Response
$id integer
Résultat Dingo\Api\Http\Response

store() public méthode

Store a newly created resource in storage.
public store ( Illuminate\Http\Request $request ) : Response
$request Illuminate\Http\Request
Résultat Dingo\Api\Http\Response

update() public méthode

Update the specified resource in storage.
public update ( Illuminate\Http\Request $request, integer $id ) : Response
$request Illuminate\Http\Request
$id integer
Résultat Dingo\Api\Http\Response