PHP Class Symfony\Bundle\FrameworkBundle\Templating\TemplateReference

Author: Victor Berchet ([email protected])
Inheritance: extends Symfony\Component\Templating\TemplateReference
Afficher le fichier Open project: pmjones/php-framework-benchmarks Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( $bundle = null, $controller = null, $name = null, $format = null, $engine = null )
getLogicalName ( )
getPath ( ) : string 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

Method Details

__construct() public méthode

public __construct ( $bundle = null, $controller = null, $name = null, $format = null, $engine = null )

getLogicalName() public méthode

public getLogicalName ( )

getPath() public méthode

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
public getPath ( ) : string
Résultat string A path to the template or a resource