PHP Класс App\Http\Controllers\ProjectsController

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

Защищенные свойства (Protected)

Свойство Тип Описание
$project
$projectForm
$recipe
$server
$user

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

Метод Описание
__construct ( App\Repositories\Project\ProjectInterface $project, ProjectForm $projectForm, App\Repositories\Recipe\RecipeInterface $recipe, App\Repositories\Server\ServerInterface $server, App\Repositories\User\UserInterface $user ) : void Create a new controller instance.
create ( ) : Response Show the form for creating a new resource.
destroy ( Project $project ) : Response Remove the specified resource from storage.
edit ( Project $project ) : Response Show the form for editing the specified resource.
index ( Illuminate\Http\Request $request ) : Response Display a listing of the resource.
show ( Project $project ) : Response Display the specified resource.
store ( Illuminate\Http\Request $request ) : Response Store a newly created resource in storage.
update ( Illuminate\Http\Request $request, Project $project ) : Response Update the specified resource in storage.

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

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

Create a new controller instance.
public __construct ( App\Repositories\Project\ProjectInterface $project, ProjectForm $projectForm, App\Repositories\Recipe\RecipeInterface $recipe, App\Repositories\Server\ServerInterface $server, App\Repositories\User\UserInterface $user ) : void
$project App\Repositories\Project\ProjectInterface
$projectForm App\Services\Form\Project\ProjectForm
$recipe App\Repositories\Recipe\RecipeInterface
$server App\Repositories\Server\ServerInterface
$user App\Repositories\User\UserInterface
Результат void

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

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

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

Remove the specified resource from storage.
public destroy ( Project $project ) : Response
$project app\models\Project
Результат Response

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

Show the form for editing the specified resource.
public edit ( Project $project ) : Response
$project app\models\Project
Результат Response

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

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

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

Display the specified resource.
public show ( Project $project ) : Response
$project app\models\Project
Результат Response

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

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

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

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

Описание свойств

$project защищенное свойство

protected $project

$projectForm защищенное свойство

protected $projectForm

$recipe защищенное свойство

protected $recipe

$server защищенное свойство

protected $server

$user защищенное свойство

protected $user