Source
in package
Holds information about a non-compiled Twig template.
Tags
Table of Contents
- $code : mixed
- $name : mixed
- $path : mixed
- __construct() : mixed
- getCode() : string
- getName() : mixed
- getPath() : string
Properties
$code
private
mixed
$code
$name
private
mixed
$name
$path
private
mixed
$path
Methods
__construct()
public
__construct(string $code, string $name[, string $path = '' ]) : mixed
Parameters
- $code : string
-
The template source code
- $name : string
-
The template logical name
- $path : string = ''
-
The filesystem path of the template if any
Return values
mixed —getCode()
public
getCode() : string
Return values
string —getName()
public
getName() : mixed
Return values
mixed —getPath()
public
getPath() : string