ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
Environment.php
Go to the documentation of this file.
1
<?
php
10
namespace
JaimePerez\TwigConfigurableI18n\Twig
;
11
12
class
Environment
extends
\Twig_Environment
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
}
php
An exception for terminatinating execution or to throw for unit testing.
JaimePerez\TwigConfigurableI18n\Twig\Environment
Definition:
Environment.php:13
JaimePerez\TwigConfigurableI18n\Twig\Environment\getOptions
getOptions()
Gets the array of options used in this environment.
Definition:
Environment.php:46
JaimePerez\TwigConfigurableI18n\Twig\Environment\$options
$options
Definition:
Environment.php:18
JaimePerez\TwigConfigurableI18n\Twig\Environment\__construct
__construct(\Twig_LoaderInterface $loader=null, $options=array())
Extended constructor.
Definition:
Environment.php:34
Twig_Environment
Stores the Twig configuration.
Definition:
Environment.php:18
Twig_Environment\$loader
$loader
Definition:
Environment.php:27
Twig_LoaderInterface
Interface all loaders must implement.
Definition:
LoaderInterface.php:18
JaimePerez\TwigConfigurableI18n\Twig
This class extends the Twig_Environment class.
Definition:
Environment.php:10
libs
composer
vendor
jaimeperez
twig-configurable-i18n
src
Twig
Environment.php
Generated on Tue Sep 30 2025 19:00:53 for ILIAS by
1.9.4 (using
Doxyfile
)