TemplateReference
class TemplateReference implements TemplateReferenceInterface
Internal representation of a template.
Properties
protected | $parameters |
Methods
__construct(string $name = null, string $engine = null)
No description
string
__toString()
Returns the string representation as shortcut for getLogicalName().
$this
set(string $name, string $value)
Sets a template parameter.
string
get(string $name)
Gets a template parameter.
array
all()
Gets the template parameters.
string
getPath()
Returns the path to the template.
string
getLogicalName()
Returns the "logical" template name.