Magestead\Command\Redis\FlushallCommand::execute PHP Метод

execute() защищенный Метод

protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : ProcessCommand
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
Результат Magestead\Command\ProcessCommand
    protected function execute(InputInterface $input, OutputInterface $output)
    {
        $output->writeln('<info>Flushing Redis Storage</info>');
        $command = "redis-cli flushall";
        $pCommand = "vagrant ssh -c '" . $command . "'";
        return new ProcessCommand($pCommand, $this->_projectPath, $output);
    }
FlushallCommand