You are here

public function ObjectProphecy::willBeConstructedWith in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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\Prophecy

Code

public function willBeConstructedWith(array $arguments = null) {
  $this->lazyDouble
    ->setArguments($arguments);
  return $this;
}