PhpBench\Console\Command\SelfUpdateCommand::doRollback PHP Метод

doRollback() приватный Метод

private doRollback ( Symfony\Component\Console\Output\OutputInterface $output )
$output Symfony\Component\Console\Output\OutputInterface
    private function doRollback(OutputInterface $output)
    {
        $result = $this->updater->rollback();
        if (!$result) {
            throw new \RuntimeException('Could not rollback.');
        }
        $output->writeln('Successfully rolled back.');
        return 0;
    }