TemplateReference
class TemplateReference extends TemplateReference
Internal representation of a template.
Properties
protected | $parameters | from TemplateReference |
Methods
__construct(string $bundle = null, string $controller = null, string $name = null, string $format = null, string $engine = null)
No description
string
__toString()
Returns the string representation as shortcut for getLogicalName().
from TemplateReference
string
getPath()
Returns the path to the template - as a path when the template is not part of a bundle - as a resource when the template is part of a bundle.
string
getLogicalName()
Returns the "logical" template name.
Details
__construct(string $bundle = null, string $controller = null, string $name = null, string $format = null, string $engine = null)
string
__toString()
Returns the string representation as shortcut for getLogicalName().
Alias of getLogicalName().