You are here

public function UnexpectedCallException::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpspec/prophecy/src/Prophecy/Exception/Call/UnexpectedCallException.php \Prophecy\Exception\Call\UnexpectedCallException::__construct()

Overrides ObjectProphecyException::__construct

File

vendor/phpspec/prophecy/src/Prophecy/Exception/Call/UnexpectedCallException.php, line 22

Class

UnexpectedCallException

Namespace

Prophecy\Exception\Call

Code

public function __construct($message, ObjectProphecy $objectProphecy, $methodName, array $arguments) {
  parent::__construct($message, $objectProphecy);
  $this->methodName = $methodName;
  $this->arguments = $arguments;
}