class ObjectProphecyException in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpspec/prophecy/src/Prophecy/Exception/Prophecy/ObjectProphecyException.php \Prophecy\Exception\Prophecy\ObjectProphecyException
Hierarchy
- class \Prophecy\Exception\Prophecy\ObjectProphecyException extends \Prophecy\Exception\Prophecy\RuntimeException implements ProphecyException
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\ProphecyView 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
| Name   | Modifiers | Type | Description | Overrides | 
|---|---|---|---|---|
| Exception:: | public | function | ||
| ObjectProphecyException:: | private | property | ||
| ObjectProphecyException:: | public | function | ||
| ObjectProphecyException:: | public | function | 2 | 
