ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
Source.php
Go to the documentation of this file.
1
<?php
2
3
/*
4
* This file is part of Twig.
5
*
6
* (c) Fabien Potencier
7
*
8
* For the full copyright and license information, please view the LICENSE
9
* file that was distributed with this source code.
10
*/
11
19
class
Twig_Source
20
{
21
private
$code
;
22
private
$name
;
23
private
$path
;
24
30
public
function
__construct
(
$code
,
$name
,
$path
=
''
)
31
{
32
$this->code =
$code
;
33
$this->name =
$name
;
34
$this->path =
$path
;
35
}
36
37
public
function
getCode
()
38
{
39
return
$this->code
;
40
}
41
42
public
function
getName
()
43
{
44
return
$this->name
;
45
}
46
47
public
function
getPath
()
48
{
49
return
$this->path
;
50
}
51
}
52
53
class_alias(
'Twig_Source'
,
'Twig\Source'
,
false
);
Twig_Source\$path
$path
Definition:
Source.php:23
Twig_Source\getCode
getCode()
Definition:
Source.php:37
Twig_Source\getPath
getPath()
Definition:
Source.php:47
Twig_Source\__construct
__construct($code, $name, $path='')
Definition:
Source.php:30
Twig_Source\$name
$name
Definition:
Source.php:22
Twig_Source\getName
getName()
Definition:
Source.php:42
Twig_Source
Holds information about a non-compiled Twig template.
Definition:
Source.php:19
Twig_Source\$code
$code
Definition:
Source.php:21
libs
composer
vendor
twig
twig
lib
Twig
Source.php
Generated on Sat Jan 18 2025 19:01:09 for ILIAS by
1.8.13 (using
Doxyfile
)