PHP 클래스 Symfony\Bundle\FrameworkBundle\Templating\TemplateReference

저자: Victor Berchet ([email protected])
상속: extends Symfony\Component\Templating\TemplateReference
파일 보기 프로젝트 열기: pmjones/php-framework-benchmarks 1 사용 예제들

공개 메소드들

메소드 설명
__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

메소드 상세

__construct() 공개 메소드

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

getLogicalName() 공개 메소드

public getLogicalName ( )

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