src/Kunstmaan/GeneratorBundle/Command/GeneratePageCommand.php
private function getTemplateList()
    {
        $templates = $this->getAvailableTemplates($this->bundle);

        $types = array();
        foreach ($templates as $key => $template) {
            $types[$key] = $template['name'];
        }

        return $types;
    }
private function getTemplateList()
    {
        $templates = $this->getAvailableTemplates($this->bundle);

        $types = array();
        foreach ($templates as $key => $template) {
            $types[$key] = $template['name'];
        }

        return $types;
    }
private function getTemplateList ( ) { $ templates = $ this -> getAvailableTemplates ( $ this -> bundle ) ; $ types = array ( ) ; foreach ( $ templates as $ key => $ template ) { $ types [ $ key ] = $ template [ 'name' ] ; } return $ types ; }
Get all the available default templates.

@return array
Get all the available default templates .