Go\Console\Command\DebugAspectCommand::showAspectInfo PHP Method

showAspectInfo() private method

Displays an information about single aspect
private showAspectInfo ( SymfonyStyle $io, Go\Aop\Aspect $aspect )
$io Symfony\Component\Console\Style\SymfonyStyle Input-output style
$aspect Go\Aop\Aspect Instance of aspect
    private function showAspectInfo(SymfonyStyle $io, Aspect $aspect)
    {
        $refAspect = new \ReflectionObject($aspect);
        $aspectName = $refAspect->getName();
        $io->section($aspectName);
        $io->writeln('Defined in: <info>' . $refAspect->getFileName() . '</info>');
        $docComment = $refAspect->getDocComment();
        if ($docComment) {
            $io->writeln($this->getPrettyText($docComment));
        }
        $this->showAspectPointcutsAndAdvisors($io, $aspect);
    }