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

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

Gets the name of the committer, or the "Loading" string if it has not yet been determined.
public presentCommitterName ( ) : string
Результат string
    public function presentCommitterName()
    {
        if ($this->committer === Deployment::LOADING) {
            if ($this->status === Deployment::FAILED) {
                return Lang::get('deployments.unknown');
            }
            return Lang::get('deployments.loading');
        }
        return $this->committer;
    }