PHP 클래스 App\Http\Controllers\ServersController

상속: extends Controller
파일 보기 프로젝트 열기: ngmy/webloyer

보호된 프로퍼티들

프로퍼티 타입 설명
$server
$serverForm

공개 메소드들

메소드 설명
__construct ( App\Repositories\Server\ServerInterface $server, ServerForm $serverForm ) : void Create a new controller instance.
create ( ) : Response Show the form for creating a new resource.
destroy ( Server $server ) : Response Remove the specified resource from storage.
edit ( Server $server ) : Response Show the form for editing the specified resource.
index ( Illuminate\Http\Request $request ) : Response Display a listing of the resource.
show ( Server $server ) : Response Display the specified resource.
store ( Illuminate\Http\Request $request ) : Response Store a newly created resource in storage.
update ( Illuminate\Http\Request $request, Server $server ) : Response Update the specified resource in storage.

메소드 상세

__construct() 공개 메소드

Create a new controller instance.
public __construct ( App\Repositories\Server\ServerInterface $server, ServerForm $serverForm ) : void
$server App\Repositories\Server\ServerInterface
$serverForm App\Services\Form\Server\ServerForm
리턴 void

create() 공개 메소드

Show the form for creating a new resource.
public create ( ) : Response
리턴 Response

destroy() 공개 메소드

Remove the specified resource from storage.
public destroy ( Server $server ) : Response
$server app\models\Server
리턴 Response

edit() 공개 메소드

Show the form for editing the specified resource.
public edit ( Server $server ) : Response
$server app\models\Server
리턴 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 ( Server $server ) : Response
$server app\models\Server
리턴 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, Server $server ) : Response
$request Illuminate\Http\Request
$server app\models\Server
리턴 Response

프로퍼티 상세

$server 보호되어 있는 프로퍼티

protected $server

$serverForm 보호되어 있는 프로퍼티

protected $serverForm