Sonata\ProductBundle\Command\GenerateProductCommand::configure PHP Method

configure() protected method

See also: Command
protected configure ( )
    protected function configure()
    {
        $this->setDefinition(array(new InputArgument('product', InputArgument::REQUIRED, 'The product to create'), new InputArgument('service_id', InputArgument::REQUIRED, 'The service id to define')))->setName('sonata:product:generate')->setDescription('Generates required files for a new Product');
    }
GenerateProductCommand