REBELinBLUE\Deployer\Presenters\ProjectPresenter::presentReadableStatus PHP Method

presentReadableStatus() public method

Gets the translated project status string.
public presentReadableStatus ( ) : string
return string
    public function presentReadableStatus()
    {
        if ($this->status === Project::FINISHED) {
            return Lang::get('projects.finished');
        } elseif ($this->status === Project::DEPLOYING) {
            return Lang::get('projects.deploying');
        } elseif ($this->status === Project::FAILED) {
            return Lang::get('projects.failed');
        } elseif ($this->status === Project::PENDING) {
            return Lang::get('projects.pending');
        }
        return Lang::get('projects.not_deployed');
    }