/**
* Gets the source code of a template, given its name.
*
- * @param string $name string The name of the template to load
+ * @param string $name The name of the template to load
*
* @return string The template source code
*/
/**
* Gets the cache key to use for the cache for a given template name.
*
- * @param string $name string The name of the template to load
+ * @param string $name The name of the template to load
*
* @return string The cache key
*/
/**
* Gets the source code of a template, given its name.
*
- * @param string $name string The name of the template to load
+ * @param string $name The name of the template to load
*
* @return string The template source code
*/
/**
* Gets the cache key to use for the cache for a given template name.
*
- * @param string $name string The name of the template to load
+ * @param string $name The name of the template to load
*
* @return string The cache key
*/
{
// normalize name
$name = preg_replace('#/{2,}#', '/', strtr($name, '\\', '/'));
-
+
if (isset($this->cache[$name])) {
return $this->cache[$name];
}
/**
* Gets the source code of a template, given its name.
*
- * @param string $name string The name of the template to load
+ * @param string $name The name of the template to load
*
* @return string The template source code
*/
/**
* Gets the cache key to use for the cache for a given template name.
*
- * @param string $name string The name of the template to load
+ * @param string $name The name of the template to load
*
* @return string The cache key
*/
/**
* Gets the source code of a template, given its name.
*
- * @param string $name string The name of the template to load
+ * @param string $name The name of the template to load
*
* @return string The template source code
*/
/**
* Gets the cache key to use for the cache for a given template name.
*
- * @param string $name string The name of the template to load
+ * @param string $name The name of the template to load
*
* @return string The cache key
*/