N98\Magento\Command\Database\Maintain\CheckTablesCommandTest::getCommand PHP 메소드

getCommand() 보호된 메소드

protected getCommand ( ) : Command
리턴 Symfony\Component\Console\Command\Command
    protected function getCommand()
    {
        $application = $this->getApplication();
        $application->add(new CheckTablesCommand());
        $command = $this->getApplication()->find('db:maintain:check-tables');
        return $command;
    }
CheckTablesCommandTest