Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
Mustache_Source_FilesystemSource Class Reference
Inheritance diagram for Mustache_Source_FilesystemSource:
Mustache_Source

Public Member Functions

 __construct ($fileName, array $statProps)
 Filesystem Source constructor.
 
 getKey ()
 Get the Source key (used to generate the compiled class name).
 
 getSource ()
 Get the template Source.
 

Constructor & Destructor Documentation

◆ __construct()

Mustache_Source_FilesystemSource::__construct ( $fileName,
array $statProps )

Filesystem Source constructor.

Parameters
string$fileName
array$statProps

Member Function Documentation

◆ getKey()

Mustache_Source_FilesystemSource::getKey ( )

Get the Source key (used to generate the compiled class name).

Exceptions
Mustache_Exception_RuntimeExceptionwhen a source file cannot be read
Return values
string

Implements Mustache_Source.

◆ getSource()

Mustache_Source_FilesystemSource::getSource ( )

Get the template Source.

Return values
string

Implements Mustache_Source.


The documentation for this class was generated from the following file: