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

Breadcrumb

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

function ObjectProphecy::makeProphecyMethodCall

Makes specific method call.

Parameters

string $methodName:

array<mixed> $arguments:

Return value

mixed

File

vendor/phpspec/prophecy/src/Prophecy/Prophecy/ObjectProphecy.php, line 189

Class

ObjectProphecy
@author Konstantin Kudryashov <ever.zet@gmail.com>

Namespace

Prophecy\Prophecy

Code

public function makeProphecyMethodCall($methodName, array $arguments) {
    $arguments = $this->revealer
        ->reveal($arguments);
    \assert(\is_array($arguments));
    $return = $this->callCenter
        ->makeCall($this, $methodName, $arguments);
    return $this->revealer
        ->reveal($return);
}
RSS feed
Powered by Drupal