- \PHPUnit_Util_Fileloader
class (none) \ PHPUnit_Util_Fileloader
Utility methods to load PHP sourcefiles.
Method Summary
| Name | Description |
|---|---|
| checkAndLoad($filename) | Checks if a PHP sourcefile is readable. The sourcefile is loaded through the load() method. |
| load($filename) | Loads a PHP sourcefile. |
public static function checkAndLoad($filename)
Checks if a PHP sourcefile is readable. The sourcefile is loaded through the load() method.
- Parameters:
string- $filename- Returns:
- string
- Throws:
- PHPUnit_Framework_Exception
public static function load($filename)
Loads a PHP sourcefile.
- Parameters:
string- $filename- Returns:
- mixed