Index Documentation

TplFilesystemLoader
in package
implements LoaderInterface

Provides a simpler Filesystem loader with mechanisms like namespaces omitted.

Table of Contents

Interfaces

LoaderInterface

Methods

__construct()  : mixed
exists()  : mixed
getCacheKey()  : string
getPath()  : string
Returns the underlying path.
getSourceContext()  : Source
isFresh()  : bool

Methods

__construct()

public __construct(string $path) : mixed
Parameters
$path : string

Base path to the templates directory.

getCacheKey()

public getCacheKey(string $name) : string
Parameters
$name : string
Return values
string

getPath()

Returns the underlying path.

public getPath() : string
Return values
string

getSourceContext()

public getSourceContext(string $name) : Source
Parameters
$name : string
Return values
Source

isFresh()

public isFresh(string $name, int $time) : bool
Parameters
$name : string
$time : int
Return values
bool

        
On this page

Search results