◆ __construct()
PHPUnit\Util\PHP\AbstractPhpProcess::__construct |
( |
| ) |
|
◆ factory()
static PHPUnit\Util\PHP\AbstractPhpProcess::factory |
( |
| ) |
|
|
static |
◆ getArgs()
PHPUnit\Util\PHP\AbstractPhpProcess::getArgs |
( |
| ) |
|
Returns the string of arguments to pass to the php job
◆ getCommand()
PHPUnit\Util\PHP\AbstractPhpProcess::getCommand |
( |
array |
$settings, |
|
|
string |
$file = null |
|
) |
| |
◆ getEnv()
PHPUnit\Util\PHP\AbstractPhpProcess::getEnv |
( |
| ) |
|
Returns the array of environment variables to start the child process with
◆ getStdin()
PHPUnit\Util\PHP\AbstractPhpProcess::getStdin |
( |
| ) |
|
Returns the input string to be sent via STDIN
◆ getTimeout()
PHPUnit\Util\PHP\AbstractPhpProcess::getTimeout |
( |
| ) |
|
Returns the amount of seconds to wait before timing out
◆ runJob()
PHPUnit\Util\PHP\AbstractPhpProcess::runJob |
( |
string |
$job, |
|
|
array |
$settings = [] |
|
) |
| |
|
abstract |
◆ runTestJob()
PHPUnit\Util\PHP\AbstractPhpProcess::runTestJob |
( |
string |
$job, |
|
|
Test |
$test, |
|
|
TestResult |
$result |
|
) |
| |
Runs a single test in a separate PHP process.
- Exceptions
-
◆ setArgs()
PHPUnit\Util\PHP\AbstractPhpProcess::setArgs |
( |
string |
$args | ) |
|
Sets the string of arguments to pass to the php job
◆ setEnv()
PHPUnit\Util\PHP\AbstractPhpProcess::setEnv |
( |
array |
$env | ) |
|
Sets the array of environment variables to start the child process with
- Parameters
-
◆ setStdin()
PHPUnit\Util\PHP\AbstractPhpProcess::setStdin |
( |
string |
$stdin | ) |
|
Sets the input string to be sent via STDIN
◆ setTimeout()
PHPUnit\Util\PHP\AbstractPhpProcess::setTimeout |
( |
int |
$timeout | ) |
|
Sets the amount of seconds to wait before timing out
◆ settingsToParameters()
PHPUnit\Util\PHP\AbstractPhpProcess::settingsToParameters |
( |
array |
$settings | ) |
|
|
protected |
◆ setUseStderrRedirection()
PHPUnit\Util\PHP\AbstractPhpProcess::setUseStderrRedirection |
( |
bool |
$stderrRedirection | ) |
|
Defines if should use STDERR redirection or not.
Then $stderrRedirection is TRUE, STDERR is redirected to STDOUT.
◆ useStderrRedirection()
PHPUnit\Util\PHP\AbstractPhpProcess::useStderrRedirection |
( |
| ) |
|
Returns TRUE if uses STDERR redirection or FALSE if not.
◆ $args
PHPUnit\Util\PHP\AbstractPhpProcess::$args = '' |
|
protected |
◆ $env
PHPUnit\Util\PHP\AbstractPhpProcess::$env = [] |
|
protected |
◆ $runtime
PHPUnit\Util\PHP\AbstractPhpProcess::$runtime |
|
protected |
◆ $stderrRedirection
PHPUnit\Util\PHP\AbstractPhpProcess::$stderrRedirection = false |
|
protected |
◆ $stdin
PHPUnit\Util\PHP\AbstractPhpProcess::$stdin = '' |
|
protected |
◆ $timeout
PHPUnit\Util\PHP\AbstractPhpProcess::$timeout = 0 |
|
protected |
The documentation for this class was generated from the following file: