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

Breadcrumb

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

function MethodProphecy::getPromise

Returns currently registered promise.

Return value

null|Promise\PromiseInterface

File

vendor/phpspec/prophecy/src/Prophecy/Prophecy/MethodProphecy.php, line 542

Class

MethodProphecy
Method prophecy.

Namespace

Prophecy\Prophecy

Code

public function getPromise() {
    return $this->promise;
}

API Navigation

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