Holds information about a non-compiled Twig template.
More...
Holds information about a non-compiled Twig template.
@final
- Author
- Fabien Potencier fabie.nosp@m.n@sy.nosp@m.mfony.nosp@m..com
Definition at line 19 of file Source.php.
◆ __construct()
Twig_Source::__construct |
( |
|
$code, |
|
|
|
$name, |
|
|
|
$path = '' |
|
) |
| |
- Parameters
-
string | $code | The template source code |
string | $name | The template logical name |
string | $path | The filesystem path of the template if any |
Definition at line 30 of file Source.php.
References $code, $name, and $path.
◆ getCode()
◆ getName()
◆ getPath()
◆ $code
◆ $name
◆ $path
The documentation for this class was generated from the following file:
- libs/composer/vendor/twig/twig/lib/Twig/Source.php