protected function initialize(InputInterface $input, OutputInterface $output)
 {
     $webPath = sprintf('%s/../web/', $this->getContainer()->getParameter('kernel.root_dir'));
     $targetPath = $webPath . self::DUMP_TARGET_PATH;
     $input->setOption("target", $targetPath);
     parent::initialize($input, $output);
 }
 /**
  * {@inheritdoc}
  */
 protected function initialize(InputInterface $input, OutputInterface $output)
 {
     // override default target file
     if (!$input->getOption('target')) {
         $webRootDir = $this->getContainer()->getParameter('assetic.read_from');
         if ($webRootDir) {
             $input->setOption('target', $webRootDir . '/js/routes.js');
         }
     }
     parent::initialize($input, $output);
 }