◆ checkAndLoad()
static PHPUnit\Util\FileLoader::checkAndLoad |
( |
string |
$filename | ) |
|
|
static |
Checks if a PHP sourcecode file is readable. The sourcecode file is loaded through the load() method.
As a fallback, PHP looks in the directory of the file executing the stream_resolve_include_path function. We do not want to load the Test.php file here, so skip it if it found that. PHP prioritizes the include_path setting, so if the current directory is in there, it will first look in the current working directory.
- Exceptions
-
◆ load()
static PHPUnit\Util\FileLoader::load |
( |
string |
$filename | ) |
|
|
static |
The documentation for this class was generated from the following file: