N98\Magento\Command\Database\VariablesCommandTest::getCommand PHP Метод

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

protected getCommand ( array $options ) : Symfony\Component\Console\Tester\CommandTester
$options array
Результат Symfony\Component\Console\Tester\CommandTester
    protected function getCommand(array $options)
    {
        $this->statusCommand = new StatusCommand();
        $application = $this->getApplication();
        $application->add($this->statusCommand);
        $command = $this->getApplication()->find('db:variables');
        $commandTester = new CommandTester($command);
        $commandTester->execute(array_merge(array('command' => $command->getName()), $options));
        return $commandTester;
    }