protected function configure() { $this->setName('doctrine:phpcr:register-system-node-types'); $this->setDescription('Register system node types in the PHPCR repository'); $this->setHelp(<<<EOT Register system node types in the PHPCR repository. This command registers the node types necessary for the ODM to work. EOT ); }
protected function configure() { parent::configure(); $this->setName('doctrine:phpcr:register-system-node-types')->addOption('session', null, InputOption::VALUE_OPTIONAL, 'The session to use for this command'); }