public function getHomeTemplate()
    {
        $templateName = 'home';
        if ( ! $this->hasTemplate($templateName)) {

            // Returns the first one in alphabetic order
            $templates = array_keys($this->templates);
            sort($templates);
            $templateName = $templates[0];
        }
        
        return $this->templates[$templateName];
    }
public function getHomeTemplate()
    {
        $templateName = 'home';
        if ( ! $this->hasTemplate($templateName)) {

            // Returns the first one in alphabetic order
            $templates = array_keys($this->templates);
            sort($templates);
            $templateName = $templates[0];
        }
        
        return $this->templates[$templateName];
    }
public function getHomeTemplate ( ) { $ templateName = 'home' ; if ( ! $ this -> hasTemplate ( $ templateName ) ) { // Returns the first one in alphabetic order $ templates = array_keys ( $ this -> templates ) ; sort ( $ templates ) ; $ templateName = $ templates [ 0 ] ; } return $ this -> templates [ $ templateName ] ; }
Returns the home template or the first one when the theme does not contains
an home template

@return \AlphaLemon\ThemeEngineBundle\Core\Template\AlTemplate
Returns the home template or the first one when the theme does not contains an home template