Doctrine\ODM\PHPCR\Tools\Console\Command\RegisterSystemNodeTypesCommand::configure PHP Method

configure() protected method

See also: Command
protected configure ( )
    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
);
    }

Usage Example

 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');
 }
RegisterSystemNodeTypesCommand