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

presentIcon() public method

Gets the CSS icon class for the project status.
public presentIcon ( ) : string
return string
    public function presentIcon()
    {
        if ($this->status === Project::FINISHED) {
            return 'check';
        } elseif ($this->status === Project::DEPLOYING) {
            return 'spinner fa-pulse';
        } elseif ($this->status === Project::FAILED) {
            return 'warning';
        } elseif ($this->status === Project::PENDING) {
            return 'clock-o';
        }
        return 'question-circle';
    }