You are here

class MethodProphecyException 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

Hierarchy

Expanded class hierarchy of MethodProphecyException

4 files declare their use of MethodProphecyException
MethodProphecy.php in vendor/phpspec/prophecy/src/Prophecy/Prophecy/MethodProphecy.php
NoCallsException.php in vendor/phpspec/prophecy/src/Prophecy/Exception/Prediction/NoCallsException.php
ObjectProphecy.php in vendor/phpspec/prophecy/src/Prophecy/Prophecy/ObjectProphecy.php
UnexpectedCallsException.php in vendor/phpspec/prophecy/src/Prophecy/Exception/Prediction/UnexpectedCallsException.php

File

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

Namespace

Prophecy\Exception\Prophecy
View source
class MethodProphecyException extends ObjectProphecyException {
  private $methodProphecy;
  public function __construct($message, MethodProphecy $methodProphecy) {
    parent::__construct($message, $methodProphecy
      ->getObjectProphecy());
    $this->methodProphecy = $methodProphecy;
  }

  /**
   * @return MethodProphecy
   */
  public function getMethodProphecy() {
    return $this->methodProphecy;
  }

}

Members