public function ObjectProphecy::willBeConstructedWith in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpspec/prophecy/src/Prophecy/Prophecy/ObjectProphecy.php \Prophecy\Prophecy\ObjectProphecy::willBeConstructedWith()
Sets constructor arguments.
Parameters
array $arguments:
Return value
$this
File
- vendor/
phpspec/ prophecy/ src/ Prophecy/ Prophecy/ ObjectProphecy.php, line 98
Class
- ObjectProphecy
- Object prophecy.
Namespace
Prophecy\ProphecyCode
public function willBeConstructedWith(array $arguments = null) {
$this->lazyDouble
->setArguments($arguments);
return $this;
}