ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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 
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);
__construct($code, $name, $path='')
Definition: Source.php:30
Holds information about a non-compiled Twig template.
Definition: Source.php:19