Symfony\Bundle\FrameworkBundle\Templating\TemplateReference
Internal representation of a template.
- Author: Victor Berchet <victor@suumit.com>
Synopsis
class TemplateReference
extends TemplateReference
{
- // Inherited members from TemplateReference
- protected $parameters;
- // methods
- public void __construct()
- public string getPath()
- public void getLogicalName()
- // Inherited methods from TemplateReference
- public void __construct()
- public void __toString()
- public TemplateReferenceInterface set()
- public string get()
- public array all()
- public string getPath()
- public string getLogicalName()
Hierarchy
Members
protected
- $parameters
Methods
public
- __construct()
- getLogicalName() — {@inheritdoc}
- 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
Inherited from Symfony\Component\Templating\TemplateReference
public
- __toString()
- all() — Gets the template parameters.
- get() — Gets a template parameter.
- getLogicalName() — Returns the "logical" template name.
- getPath() — Returns the path to the template.
- set() — Sets a template parameter.