REBELinBLUE\Deployer\Presenters\DeployStepPresenter::presentName PHP Method

presentName() public method

Gets the deployment stage label from the numeric representation.
public presentName ( ) : string
return string
    public function presentName()
    {
        if (!is_null($this->command_id)) {
            return $this->command->name;
        } elseif ($this->stage === Command::DO_INSTALL) {
            return Lang::get('commands.install');
        } elseif ($this->stage === Command::DO_ACTIVATE) {
            return Lang::get('commands.activate');
        } elseif ($this->stage === Command::DO_PURGE) {
            return Lang::get('commands.purge');
        }
        return Lang::get('commands.clone');
    }
DeployStepPresenter