N98\Magento\Command\Customer\CreateCommandTest::_getCommand PHP Метод

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

protected _getCommand ( ) : CreateCommand
Результат CreateCommand
    protected function _getCommand()
    {
        $application = $this->getApplication();
        $application->add(new CreateCommand());
        // try to create a customer with a password < 6 chars
        $command = $this->getApplication()->find('customer:create');
        return $command;
    }