PHPSA\Command\DumpDocumentationCommand::execute PHP Method

execute() protected method

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)
    {
        $metaArray = Analyzer\Factory::getPassesMetadata();
        $output->writeln("# Analyzers");
        $output->writeln("This doc gives an overview about what the different analyzers do.");
        $output->writeln("");
        foreach ($metaArray as $analyzer) {
            $output->writeln("#### " . $analyzer->getName());
            $output->writeln("");
            $output->writeln($analyzer->getDescription());
            $output->writeln("");
        }
        $output->writeln("Next: [How To: Write own Analyzer](./06_HowTo_Own_Analyzer.md)");
    }
DumpDocumentationCommand