PHP Class App\Http\Controllers\ServersController

Inheritance: extends Controller
Afficher le fichier Open project: ngmy/webloyer

Protected Properties

Свойство Type Description
$server
$serverForm

Méthodes publiques

Méthode Description
__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.

Method Details

__construct() public méthode

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
Résultat void

create() public méthode

Show the form for creating a new resource.
public create ( ) : Response
Résultat Response

destroy() public méthode

Remove the specified resource from storage.
public destroy ( Server $server ) : Response
$server app\models\Server
Résultat Response

edit() public méthode

Show the form for editing the specified resource.
public edit ( Server $server ) : Response
$server app\models\Server
Résultat Response

index() public méthode

Display a listing of the resource.
public index ( Illuminate\Http\Request $request ) : Response
$request Illuminate\Http\Request
Résultat Response

show() public méthode

Display the specified resource.
public show ( Server $server ) : Response
$server app\models\Server
Résultat Response

store() public méthode

Store a newly created resource in storage.
public store ( Illuminate\Http\Request $request ) : Response
$request Illuminate\Http\Request
Résultat Response

update() public méthode

Update the specified resource in storage.
public update ( Illuminate\Http\Request $request, Server $server ) : Response
$request Illuminate\Http\Request
$server app\models\Server
Résultat Response

Property Details

$server protected_oe property

protected $server

$serverForm protected_oe property

protected $serverForm