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

Breadcrumb

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

function UnexpectedCallsCountException::__construct

Parameters

string $message:

MethodProphecy $methodProphecy:

int $count:

list<Call> $calls:

Overrides UnexpectedCallsException::__construct

File

vendor/phpspec/prophecy/src/Prophecy/Exception/Prediction/UnexpectedCallsCountException.php, line 27

Class

UnexpectedCallsCountException

Namespace

Prophecy\Exception\Prediction

Code

public function __construct($message, MethodProphecy $methodProphecy, $count, array $calls) {
    parent::__construct($message, $methodProphecy, $calls);
    $this->expectedCount = intval($count);
}

API Navigation

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