protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) | ||
$input | Symfony\Component\Console\Input\InputInterface | |
$output | Symfony\Component\Console\Output\OutputInterface |
protected function execute(InputInterface $input, OutputInterface $output)
{
parent::execute($input, $output);
$io = new SymfonyStyle($input, $output);
$io->title('Advisor debug information');
$advisorId = $input->getOption('advisor');
if (!$advisorId) {
$this->showAdvisorsList($io);
} else {
$this->showAdvisorInformation($io, $advisorId);
}
}