public function getTemplateList()
    {
        $templates = [];
        foreach ($this->storage->findTemplates() as $site) {
            $templates[$site->id] = $site->title;
        }

        return $templates;
    }
public function getTemplateList()
    {
        $templates = [];
        foreach ($this->storage->findTemplates() as $site) {
            $templates[$site->id] = $site->title;
        }

        return $templates;
    }
public function getTemplateList ( ) { $ templates = [ ] ; foreach ( $ this -> storage -> findTemplates ( ) as $ site ) { $ templates [ $ site -> id ] = $ site -> title ; } return $ templates ; }
Get allowed template sites identifiers along with their title
Get allowed template sites identifiers along with their title