Documentation

PHPUnit_Util_Fileloader
in package

Utility methods to load PHP sourcefiles.

Tags
since

Class available since Release 2.3.0

Table of Contents

checkAndLoad()  : string
Checks if a PHP sourcefile is readable.
load()  : mixed
Loads a PHP sourcefile.

Methods

checkAndLoad()

Checks if a PHP sourcefile is readable.

public static checkAndLoad(string $filename) : string

The sourcefile is loaded through the load() method.

Parameters
$filename : string
Tags
throws
PHPUnit_Framework_Exception
Return values
string

load()

Loads a PHP sourcefile.

public static load(string $filename) : mixed
Parameters
$filename : string
Tags
since

Method available since Release 3.0.0

Return values
mixed

Search results