PHP Класс Sensio\Bundle\FrameworkExtraBundle\Configuration\Template

Автор: Fabien Potencier ([email protected])
Наследование: extends Sensio\Bundle\FrameworkExtraBundle\Configuration\ConfigurationAnnotation
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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