public function PHPUnit_Framework_MockObject_Stub_ConsecutiveCalls::__construct in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Stub/ConsecutiveCalls.php \PHPUnit_Framework_MockObject_Stub_ConsecutiveCalls::__construct()
File
- vendor/
phpunit/ phpunit-mock-objects/ src/ Framework/ MockObject/ Stub/ ConsecutiveCalls.php, line 23
Class
- PHPUnit_Framework_MockObject_Stub_ConsecutiveCalls
- Stubs a method by returning a user-defined stack of values.
Code
public function __construct($stack) {
$this->stack = $stack;
}