/**
* {@inheritdoc}
*/
protected function execute(InputInterface $input, OutputInterface $output)
{
Logger::set(new NullLogger());
$this->input = $input;
$this->output = $output;
$this->config = $this->getContainer()->getParameter('voryx_thruway');
switch ($input->getArgument('action')) {
case "start":
$this->start();
break;
case "stop":
$this->stop();
break;
case "restart":
$this->restart();
break;
case "status":
$this->status();
break;
case "add":
$this->add();
break;
default:
$output->writeln("Expected an action: start, stop, status");
}
}