Source

Holds information about a non-compiled Twig template.

final
author

Fabien Potencier fabien@symfony.com

package

Default

Methods

__construct

__construct(string $code,string $name,string $path = '')

Arguments

$code

string

The template source code

$name

string

The template logical name

$path

string

The filesystem path of the template if any

getCode

getCode()

getName

getName()

getPath

getPath()

Properties

code

code :

Type(s)

name

name :

Type(s)

path

path :

Type(s)