You are here

public function ObjectProphecyException::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpspec/prophecy/src/Prophecy/Exception/Prophecy/ObjectProphecyException.php \Prophecy\Exception\Prophecy\ObjectProphecyException::__construct()
2 calls to ObjectProphecyException::__construct()
MethodProphecyException::__construct in vendor/phpspec/prophecy/src/Prophecy/Exception/Prophecy/MethodProphecyException.php
UnexpectedCallException::__construct in vendor/phpspec/prophecy/src/Prophecy/Exception/Call/UnexpectedCallException.php
2 methods override ObjectProphecyException::__construct()
MethodProphecyException::__construct in vendor/phpspec/prophecy/src/Prophecy/Exception/Prophecy/MethodProphecyException.php
UnexpectedCallException::__construct in vendor/phpspec/prophecy/src/Prophecy/Exception/Call/UnexpectedCallException.php

File

vendor/phpspec/prophecy/src/Prophecy/Exception/Prophecy/ObjectProphecyException.php, line 20

Class

ObjectProphecyException

Namespace

Prophecy\Exception\Prophecy

Code

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