REBELinBLUE\Deployer\Presenters\DeploymentPresenter::presentCcTrayStatus PHP Метод

presentCcTrayStatus() публичный Метод

Returns the build status needed by CCTray These strings can not be translated.
public presentCcTrayStatus ( ) : string
Результат string
    public function presentCcTrayStatus()
    {
        if ($this->status === Deployment::COMPLETED || $this->status === Deployment::COMPLETED_WITH_ERRORS) {
            return 'Success';
        } elseif ($this->status === Deployment::FAILED || $this->status === Deployment::ABORTED) {
            return 'Failure';
        }
        return 'Unknown';
    }