123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126 |
- <?php
-
- namespace Sensio\Bundle\FrameworkExtraBundle\Configuration;
-
- use Symfony\Bundle\FrameworkBundle\Templating\TemplateReference;
-
-
-
-
- class Template extends ConfigurationAnnotation
- {
-
-
- protected $template;
-
-
-
- protected $engine = 'twig';
-
-
-
- protected $vars = array();
-
-
-
- public function getVars()
- {
- return $this->vars;
- }
-
-
-
- public function setVars($vars)
- {
- $this->vars = $vars;
- }
-
-
-
- public function getEngine()
- {
- return $this->engine;
- }
-
-
-
- public function setEngine($engine)
- {
- $this->engine = $engine;
- }
-
-
-
- public function setValue($template)
- {
- $this->setTemplate($template);
- }
-
-
-
- public function getTemplate()
- {
- return $this->template;
- }
-
-
-
- public function setTemplate($template)
- {
- $this->template = $template;
- }
-
-
-
- public function getAliasName()
- {
- return 'template';
- }
- }
|