Bundle/ViewReferenceBundle/Command/GenerateViewReferenceCommand.php
protected function execute(InputInterface $input, OutputInterface $output)
    {
        /** @var ViewHelper $viewHelper */
        $viewHelper = $this->getContainer()->get('victoire_core.view_helper');
        $viewsReferences = $viewHelper->buildViewsReferences();
        $this->getContainer()->get('victoire_view_reference.manager')->saveReferences($viewsReferences);
        $output->writeln('<info>The ViewReference has been generated.</info>');
    }
protected function execute(InputInterface $input, OutputInterface $output)
    {
        /** @var ViewHelper $viewHelper */
        $viewHelper = $this->getContainer()->get('victoire_core.view_helper');
        $viewsReferences = $viewHelper->buildViewsReferences();
        $this->getContainer()->get('victoire_view_reference.manager')->saveReferences($viewsReferences);
        $output->writeln('<info>The ViewReference has been generated.</info>');
    }
protected function execute ( InputInterface $ input , OutputInterface $ output ) { /** @var ViewHelper $viewHelper */ $ viewHelper = $ this -> getContainer ( ) -> get ( 'victoire_core.view_helper' ) ; $ viewsReferences = $ viewHelper -> buildViewsReferences ( ) ; $ this -> getContainer ( ) -> get ( 'victoire_view_reference.manager' ) -> saveReferences ( $ viewsReferences ) ; $ output -> writeln ( '<info>The ViewReference has been generated.</info>' ) ; }
Read declared business entities and BusinessEntityPatternPages to generate their urls.

@param InputInterface  $input
@param OutputInterface $output

@return void
Read declared business entities and BusinessEntityPatternPages to generate their urls .