src/phpDocumentor/Transformer/Command/Template/ListCommand.php
protected function execute(InputInterface $input, OutputInterface $output)
    {
        $output->writeln('Available templates:');
        foreach ($this->factory->getAllNames() as $template_name) {
            $output->writeln('* '.$template_name);
        }
        $output->writeln('');
    }
protected function execute(InputInterface $input, OutputInterface $output)
    {
        $output->writeln('Available templates:');
        foreach ($this->factory->getAllNames() as $template_name) {
            $output->writeln('* '.$template_name);
        }
        $output->writeln('');
    }
protected function execute ( InputInterface $ input , OutputInterface $ output ) { $ output -> writeln ( 'Available templates:' ) ; foreach ( $ this -> factory -> getAllNames ( ) as $ template_name ) { $ output -> writeln ( '* ' . $ template_name ) ; } $ output -> writeln ( '' ) ; }
Retrieves all template names from the Template Factory and sends those to stdout.

@param InputInterface  $input
@param OutputInterface $output

@return void
Retrieves all template names from the Template Factory and sends those to stdout .