REBELinBLUE\Deployer\Repositories\EloquentDeploymentRepository::getLatestSuccessful PHP 메소드

getLatestSuccessful() 공개 메소드

public getLatestSuccessful ( $project_id )
    public function getLatestSuccessful($project_id)
    {
        return $this->model->where('project_id', $project_id)->where('status', Deployment::COMPLETED)->whereNotNull('started_at')->orderBy('started_at', 'DESC')->first();
    }