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

Наследование: extends App\Http\Controllers\Controller
Показать файл Открыть проект

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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