Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. MethodProphecyException.php

function MethodProphecyException::__construct

Parameters

string $message:

Overrides ObjectProphecyException::__construct

2 calls to MethodProphecyException::__construct()
UnexpectedCallsException::__construct in vendor/phpspec/prophecy/src/Prophecy/Exception/Prediction/UnexpectedCallsException.php
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 23

Class

MethodProphecyException

Namespace

Prophecy\Exception\Prophecy

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal