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

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

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