App\Http\Controllers\DeploymentsController::__construct PHP Method

__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
    public function __construct(ProjectInterface $project, DeploymentForm $deploymentForm)
    {
        $this->middleware('auth');
        $this->middleware('acl');
        $this->project = $project;
        $this->deploymentForm = $deploymentForm;
    }