PHP Class App\Http\Controllers\DeploymentsController

Inheritance: extends Controller
显示文件 Open project: ngmy/webloyer

Protected Properties

Property Type Description
$deploymentForm
$project

Public Methods

Method Description
__construct ( App\Repositories\Project\ProjectInterface $project, DeploymentForm $deploymentForm ) : void Create a new controller instance.
index ( Illuminate\Http\Request $request, Project $project ) : Response Display a listing of the resource.
show ( Project $project, Deployment $deployment ) : Response Display the specified resource.
store ( Illuminate\Http\Request $request, Project $project ) : Response Store a newly created resource in storage.

Method Details

__construct() public method

Create a new controller instance.
public __construct ( App\Repositories\Project\ProjectInterface $project, DeploymentForm $deploymentForm ) : void
$project App\Repositories\Project\ProjectInterface
$deploymentForm App\Services\Form\Deployment\DeploymentForm
return void

index() public method

Display a listing of the resource.
public index ( Illuminate\Http\Request $request, Project $project ) : Response
$request Illuminate\Http\Request
$project app\models\Project
return Response

show() public method

Display the specified resource.
public show ( Project $project, Deployment $deployment ) : Response
$project app\models\Project
$deployment app\models\Deployment
return Response

store() public method

Store a newly created resource in storage.
public store ( Illuminate\Http\Request $request, Project $project ) : Response
$request Illuminate\Http\Request
$project app\models\Project
return Response

Property Details

$deploymentForm protected_oe property

protected $deploymentForm

$project protected_oe property

protected $project