original_string: public static function importRoutes(Event $event) {
          $options = self::getOptions($event);
          $appDir = $options['symfony-app-dir'];
          $webDir = $options['symfony-web-dir'];
  
          if (!is_dir($webDir)) {
              echo 'The symfony-web-dir (' . $webDir . ') specified in composer.json was not found in ' . getcwd() . ', can not install assets.' . PHP_EOL;
  
              return;
          }
  
          static::executeCommand($event, $appDir, 'wucdbm_menu_builder:import_routes');
      }
code: public static function importRoutes(Event $event) {
          $options = self::getOptions($event);
          $appDir = $options['symfony-app-dir'];
          $webDir = $options['symfony-web-dir'];
  
          if (!is_dir($webDir)) {
              echo 'The symfony-web-dir (' . $webDir . ') specified in composer.json was not found in ' . getcwd() . ', can not install assets.' . PHP_EOL;
  
              return;
          }
  
          static::executeCommand($event, $appDir, 'wucdbm_menu_builder:import_routes');
      }
code_tokens: public static function importRoutes ( Event $ event ) { $ options = self :: getOptions ( $ event ) ; $ appDir = $ options [ 'symfony-app-dir' ] ; $ webDir = $ options [ 'symfony-web-dir' ] ; if ( ! is_dir ( $ webDir ) ) { echo 'The symfony-web-dir (' . $ webDir . ') specified in composer.json was not found in ' . getcwd ( ) . ', can not install assets.' . PHP_EOL ; return ; } static :: executeCommand ( $ event , $ appDir , 'wucdbm_menu_builder:import_routes' ) ; }
docstring: Imports routes into the database.
  
  @param $event Event A instance
docstring_tokens: Imports routes into the database .