Twig_Source

Extends\Twig\Source

Holds information about a non-compiled Twig template.

package

Default

Methods

__construct

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

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()
inherited

getName

getName()
inherited

getPath

getPath()
inherited

Properties

code

code :
inherited

Type(s)

name

name :
inherited

Type(s)

path

path :
inherited

Type(s)