App\Http\Controllers\Webhook\Github\V1\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->project = $project;
        $this->deploymentForm = $deploymentForm;
    }
DeploymentsController