Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
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: