You are here

public function MethodProphecyException::__construct in Zircon Profile 8

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

Overrides ObjectProphecyException::__construct

1 call to MethodProphecyException::__construct()
UnexpectedCallsException::__construct in vendor/phpspec/prophecy/src/Prophecy/Exception/Prediction/UnexpectedCallsException.php
1 method overrides MethodProphecyException::__construct()
UnexpectedCallsException::__construct in vendor/phpspec/prophecy/src/Prophecy/Exception/Prediction/UnexpectedCallsException.php

File

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

Class

MethodProphecyException

Namespace

Prophecy\Exception\Prophecy

Code

public function __construct($message, MethodProphecy $methodProphecy) {
  parent::__construct($message, $methodProphecy
    ->getObjectProphecy());
  $this->methodProphecy = $methodProphecy;
}