PHP 클래스 App\Http\Controllers\ProjectsController

상속: extends Controller
파일 보기 프로젝트 열기: ngmy/webloyer 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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