function ObjectProphecyException::__construct
Parameters
string $message:
ObjectProphecy<object> $objectProphecy:
4 calls to ObjectProphecyException::__construct()
- MethodProphecyException::__construct in vendor/
phpspec/ prophecy/ src/ Prophecy/ Exception/ Prophecy/ MethodProphecyException.php - MethodProphecyException::__construct in vendor/
phpspec/ prophecy/ src/ Prophecy/ Exception/ Prophecy/ MethodProphecyException.php - UnexpectedCallException::__construct in vendor/
phpspec/ prophecy/ src/ Prophecy/ Exception/ Call/ UnexpectedCallException.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 24
Class
Namespace
Prophecy\Exception\ProphecyCode
public function __construct($message, ObjectProphecy $objectProphecy) {
parent::__construct($message);
$this->objectProphecy = $objectProphecy;
}