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

Breadcrumb

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

function PromiseInterface::execute

Evaluates promise.

Parameters

array<mixed> $args:

ObjectProphecy<object> $object:

MethodProphecy $method:

Return value

mixed

4 methods override PromiseInterface::execute()
CallbackPromise::execute in vendor/phpspec/prophecy/src/Prophecy/Promise/CallbackPromise.php
Evaluates promise.
ReturnArgumentPromise::execute in vendor/phpspec/prophecy/src/Prophecy/Promise/ReturnArgumentPromise.php
Evaluates promise.
ReturnPromise::execute in vendor/phpspec/prophecy/src/Prophecy/Promise/ReturnPromise.php
Evaluates promise.
ThrowPromise::execute in vendor/phpspec/prophecy/src/Prophecy/Promise/ThrowPromise.php
Evaluates promise.

File

vendor/phpspec/prophecy/src/Prophecy/Promise/PromiseInterface.php, line 34

Class

PromiseInterface
Promise interface. Promises are logical blocks, tied to `will...` keyword.

Namespace

Prophecy\Promise

Code

public function execute(array $args, ObjectProphecy $object, MethodProphecy $method);

API Navigation

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