protected function execute(InputInterface $input, OutputInterface $output)
{
parent::execute($input, $output);
$io = new SymfonyStyle($input, $output);
$container = $this->aspectKernel->getContainer();
$aspects = [];
$io->title('Aspect debug information');
$aspectName = $input->getOption('aspect');
if (!$aspectName) {
$io->text('<info>' . get_class($this->aspectKernel) . '</info> has following enabled aspects:');
$aspects = $container->getByTag('aspect');
} else {
$aspect = $container->getAspect($aspectName);
$aspects[] = $aspect;
}
$this->showRegisteredAspectsInfo($io, $aspects);
}