ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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 }
getOptions()
Gets the array of options used in this environment.
Definition: Environment.php:46
This class extends the Twig_Environment class.
Definition: Environment.php:10
Create styles array
The data for the language used.
__construct(\Twig_LoaderInterface $loader=null, $options=array())
Extended constructor.
Definition: Environment.php:34
Stores the Twig configuration.
Definition: Environment.php:17
Interface all loaders must implement.