Command/TemplatesLoadCommand.php
protected function execute(InputInterface $input, OutputInterface $output)
    {
        $formatter = $this->getHelper('formatter');
        $templates = $this
            ->templateManager
            ->loadTemplates();

        foreach ($templates as $template) {
            $formattedLine = $formatter->formatSection(
                'OK',
                'Template "' . $template['bundle'] . '" installed'
            );

            $output->writeln($formattedLine);
        }
    }
protected function execute(InputInterface $input, OutputInterface $output)
    {
        $formatter = $this->getHelper('formatter');
        $templates = $this
            ->templateManager
            ->loadTemplates();

        foreach ($templates as $template) {
            $formattedLine = $formatter->formatSection(
                'OK',
                'Template "' . $template['bundle'] . '" installed'
            );

            $output->writeln($formattedLine);
        }
    }
protected function execute ( InputInterface $ input , OutputInterface $ output ) { $ formatter = $ this -> getHelper ( 'formatter' ) ; $ templates = $ this -> templateManager -> loadTemplates ( ) ; foreach ( $ templates as $ template ) { $ formattedLine = $ formatter -> formatSection ( 'OK' , 'Template "' . $ template [ 'bundle' ] . '" installed' ) ; $ output -> writeln ( $ formattedLine ) ; } }
This command loads all the templates installed

@param InputInterface  $input  The input interface
@param OutputInterface $output The output interface

@return void
This command loads all the templates installed