PHP Класс App\Http\Controllers\Backend\TopicController

Наследование: extends BaseController
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( App\Contracts\Repositories\TopicRepository $topics ) TopicController constructor.
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 ( Illuminate\Http\Request $request ) : Illuminate\Http\Response Store a newly created resource in storage.
update ( Illuminate\Http\Request $request, integer $id ) : Illuminate\Http\Response Update the specified resource in storage.

Описание методов

__construct() публичный Метод

TopicController constructor.
public __construct ( App\Contracts\Repositories\TopicRepository $topics )
$topics App\Contracts\Repositories\TopicRepository

create() публичный Метод

Show the form for creating a new resource.
public create ( ) : Illuminate\Http\Response
Результат Illuminate\Http\Response

destroy() публичный Метод

Remove the specified resource from storage.
public destroy ( integer $id ) : Illuminate\Http\Response
$id integer
Результат Illuminate\Http\Response

edit() публичный Метод

Show the form for editing the specified resource.
public edit ( integer $id ) : Illuminate\Http\Response
$id integer
Результат Illuminate\Http\Response

index() публичный Метод

Display a listing of the resource.
public index ( ) : Illuminate\Http\Response
Результат Illuminate\Http\Response

show() публичный Метод

Display the specified resource.
public show ( integer $id ) : Illuminate\Http\Response
$id integer
Результат Illuminate\Http\Response

store() публичный Метод

Store a newly created resource in storage.
public store ( Illuminate\Http\Request $request ) : Illuminate\Http\Response
$request Illuminate\Http\Request
Результат Illuminate\Http\Response

update() публичный Метод

Update the specified resource in storage.
public update ( Illuminate\Http\Request $request, integer $id ) : Illuminate\Http\Response
$request Illuminate\Http\Request
$id integer
Результат Illuminate\Http\Response