This command registers the necessary node types to get phpcr odm working
Inheritance: extends PHPCR\Util\Console\Command\NodeTypeRegisterCommand
 protected function execute(InputInterface $input, OutputInterface $output)
 {
     if (class_exists('Doctrine\\ODM\\PHPCR\\Tools\\Console\\Command\\RegisterSystemNodeTypesCommand')) {
         DoctrineCommandHelper::setApplicationPHPCRSession($this->getApplication(), $input->getOption('session'));
         $command = new RegisterSystemNodeTypesCommand();
         $command->setApplication($this->getApplication());
         $command->execute($input, $output);
     }
     $initializerManager = $this->getContainer()->get('doctrine_phpcr.initializer_manager');
     $initializerManager->setLoggingClosure(function ($message) use($output) {
         $output->writeln($message);
     });
     $initializerManager->initialize();
 }
 protected function execute(InputInterface $input, OutputInterface $output)
 {
     DoctrineCommandHelper::setApplicationPHPCRSession($this->getApplication(), $input->getOption('session'));
     return parent::execute($input, $output);
 }