KJ\Magento\Command\Order\Create\DummyCommand::configure PHP Метод

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

protected configure ( )
    protected function configure()
    {
        $this->setName('order:create:dummy')->addArgument('count', InputArgument::REQUIRED, 'Count')->addOption('customer', null, InputOption::VALUE_OPTIONAL, "A customer ID to use for the order")->addOption('new-customer', null, InputOption::VALUE_OPTIONAL, "Create a new customer for this order")->addOption('product', null, InputOption::VALUE_OPTIONAL, "A product SKU to use for the order")->addOption('store', null, InputOption::VALUE_OPTIONAL, "A store ID to use for the order")->addOption('shipping', null, InputOption::VALUE_OPTIONAL, "A shipping method code to use for the order")->addOption('custom_options', null, InputOption::VALUE_OPTIONAL, "Custom options to use for the product, if applicable")->addOption('payment', null, InputOption::VALUE_OPTIONAL, "A payment method code to use for the order.  Defaults to 'checkmo'")->addOption('cc_token', null, InputOption::VALUE_OPTIONAL, "Token to use for payment method, if applicable")->addOption('email', null, InputOption::VALUE_OPTIONAL, "Send order email to customer (0/1)")->setDescription('(Experimental) Create a dummy order using a random customer, product, and date.');
    }