You are here

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

Hierarchy

Expanded class hierarchy of ObjectProphecyException

2 files declare their use of ObjectProphecyException
ObjectProphecy.php in vendor/phpspec/prophecy/src/Prophecy/Prophecy/ObjectProphecy.php
UnexpectedCallException.php in vendor/phpspec/prophecy/src/Prophecy/Exception/Call/UnexpectedCallException.php

File

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

Namespace

Prophecy\Exception\Prophecy
View source
class ObjectProphecyException extends \RuntimeException implements ProphecyException {
  private $objectProphecy;
  public function __construct($message, ObjectProphecy $objectProphecy) {
    parent::__construct($message);
    $this->objectProphecy = $objectProphecy;
  }

  /**
   * @return ObjectProphecy
   */
  public function getObjectProphecy() {
    return $this->objectProphecy;
  }

}

Members