PHP 클래스 Sensio\Bundle\FrameworkExtraBundle\Configuration\Template

저자: Fabien Potencier ([email protected])
상속: extends Sensio\Bundle\FrameworkExtraBundle\Configuration\ConfigurationAnnotation
파일 보기 프로젝트 열기: pmjones/php-framework-benchmarks 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$template Symfony\Bundle\FrameworkBundle\Templating\TemplateReference The template reference.
$vars array The associative array of template variables.

공개 메소드들

메소드 설명
getAliasName ( ) : string Returns the annotation alias name.
getTemplate ( ) : TemplateReference Returns the template reference.
getVars ( ) : array Returns the array of templates variables.
setTemplate ( TemplateReference | string $template ) Sets the template reference.
setValue ( string $template ) Sets the template logic name.
setVars ( array $vars ) Sets the template variables

메소드 상세

getAliasName() 공개 메소드

Returns the annotation alias name.
또한 보기: ConfigurationInterface
public getAliasName ( ) : string
리턴 string

getTemplate() 공개 메소드

Returns the template reference.
public getTemplate ( ) : TemplateReference
리턴 Symfony\Bundle\FrameworkBundle\Templating\TemplateReference

getVars() 공개 메소드

Returns the array of templates variables.
public getVars ( ) : array
리턴 array

setTemplate() 공개 메소드

Sets the template reference.
public setTemplate ( TemplateReference | string $template )
$template Symfony\Bundle\FrameworkBundle\Templating\TemplateReference | string The template reference

setValue() 공개 메소드

Sets the template logic name.
public setValue ( string $template )
$template string The template logic name

setVars() 공개 메소드

Sets the template variables
public setVars ( array $vars )
$vars array The template variables

프로퍼티 상세

$template 보호되어 있는 프로퍼티

The template reference.
protected TemplateReference,Symfony\Bundle\FrameworkBundle\Templating $template
리턴 Symfony\Bundle\FrameworkBundle\Templating\TemplateReference

$vars 보호되어 있는 프로퍼티

The associative array of template variables.
protected array $vars
리턴 array