ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
Environment.php
Go to the documentation of this file.
1<?php
11
13{
14
18 protected $options = array();
19
20
34 public function __construct(\Twig_LoaderInterface $loader = null, $options = array())
35 {
36 parent::__construct($loader, $options);
37 $this->options = $options;
38 }
39
40
46 public function getOptions()
47 {
48 return $this->options;
49 }
50}
An exception for terminatinating execution or to throw for unit testing.
getOptions()
Gets the array of options used in this environment.
Definition: Environment.php:46
__construct(\Twig_LoaderInterface $loader=null, $options=array())
Extended constructor.
Definition: Environment.php:34
Stores the Twig configuration.
Definition: Environment.php:18
Interface all loaders must implement.
This class extends the Twig_Environment class.
Definition: Environment.php:10