PHP Class Symfony\Bundle\FrameworkBundle\Templating\TemplateReference

Author: Victor Berchet ([email protected])
Inheritance: extends Symfony\Component\Templating\TemplateReference
ファイルを表示 Open project: pmjones/php-framework-benchmarks Class Usage Examples

Public Methods

Method 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 method

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

getLogicalName() public method

public getLogicalName ( )

getPath() public method

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
return string A path to the template or a resource