src/PHPDish/Bundle/ResourceBundle/Controller/ResourceConfiguration.php
public function getTemplate($key)
    {
        if (isset($this->templates[$key])) {
            return $this->templates[$key];
        }
        return $this->defaultTemplateNamespace . ':' . $key;
    }
public function getTemplate($key)
    {
        if (isset($this->templates[$key])) {
            return $this->templates[$key];
        }
        return $this->defaultTemplateNamespace . ':' . $key;
    }
获取模板

@param string $key
@return string