routingService = $routingService; parent::__construct(); } /** * */ protected function configure () { $this->setName('jsrouting:build'); $this->setDescription("Compile public/private routing for js"); $this->setHelp("For real ?"); } /** * @param InputInterface $input * @param OutputInterface $output * @return int|null|void */ public function execute (InputInterface $input, OutputInterface $output) { $this->routingService->buildAndStoreBST_private(); $this->routingService->buildAndStoreBST_public(); $output->writeln('info : BST trees built, deal with it ;).'); } }