Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
ParaTest
Console
Testers
PHPUnit
scopedRequire
ParaTest\Console\Testers\PHPUnit::scopedRequire PHP Method
PHPUnit Class Documentation
Show file
Open project: brianium/paratest
scopedRequire()
protected
method
This function limits the scope of a required file so that variables defined in it do not break this object's configuration.
protected
scopedRequire
(
$file
)
protected function scopedRequire($file) { $cwd = getcwd(); require_once $file; chdir($cwd); }
PHPUnit
configure
execute
getBootstrapFile
getConfig
getRunnerOptions
hasConfig
hasCoverage
hasPath
requireBootstrap
scopedRequire