class Fileloader (View source)

Utility methods to load PHP sourcefiles.

Methods

static string
checkAndLoad(string $filename)

Checks if a PHP sourcefile is readable.

static mixed
load(string $filename)

Loads a PHP sourcefile.

Details

static string checkAndLoad(string $filename)

Checks if a PHP sourcefile is readable.

The sourcefile is loaded through the load() method.

Parameters

string $filename

Return Value

string

Exceptions

Exception

static mixed load(string $filename)

Loads a PHP sourcefile.

Parameters

string $filename

Return Value

mixed