public function rollback($dryRun = false)
    {
        $this->logger->notice('Rollback deployment ' . $this->name . ' (' . $this->releaseIdentifier . ')');

        $this->setWorkflow(new RollbackWorkflow());
        $this->initialize();
        if ($dryRun) {
            $this->setDryRun(true);
        }
        $this->workflow->run($this);
    }
public function rollback($dryRun = false)
    {
        $this->logger->notice('Rollback deployment ' . $this->name . ' (' . $this->releaseIdentifier . ')');

        $this->setWorkflow(new RollbackWorkflow());
        $this->initialize();
        if ($dryRun) {
            $this->setDryRun(true);
        }
        $this->workflow->run($this);
    }
public function rollback ( $ dryRun = false ) { $ this -> logger -> notice ( 'Rollback deployment ' . $ this -> name . ' (' . $ this -> releaseIdentifier . ')' ) ; $ this -> setWorkflow ( new RollbackWorkflow ( ) ) ; $ this -> initialize ( ) ; if ( $ dryRun ) { $ this -> setDryRun ( true ) ; } $ this -> workflow -> run ( $ this ) ; }
Rollback a deployment

@param bool $dryRun

@throws SurfException
@throws SurfException\InvalidConfigurationException
Rollback a deployment