public function AbstractProcessTest::responsesCodeProvider in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/process/Tests/AbstractProcessTest.php \Symfony\Component\Process\Tests\AbstractProcessTest::responsesCodeProvider()
File
- vendor/
symfony/ process/ Tests/ AbstractProcessTest.php, line 1138
Class
- AbstractProcessTest
- @author Robert Schönthal <seroscho@googlemail.com>
Namespace
Symfony\Component\Process\TestsCode
public function responsesCodeProvider() {
return array(
//expected output / getter / code to execute
//array(1,'getExitCode','exit(1);'),
//array(true,'isSuccessful','exit();'),
array(
'output',
'getOutput',
'echo \'output\';',
),
);
}