You are here

interface PromiseInterface in Zircon Profile 8.0

Same name in this branch
  1. 8.0 vendor/guzzlehttp/promises/src/PromiseInterface.php \GuzzleHttp\Promise\PromiseInterface
  2. 8.0 vendor/phpspec/prophecy/src/Prophecy/Promise/PromiseInterface.php \Prophecy\Promise\PromiseInterface
Same name and namespace in other branches
  1. 8 vendor/phpspec/prophecy/src/Prophecy/Promise/PromiseInterface.php \Prophecy\Promise\PromiseInterface

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

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

Hierarchy

Expanded class hierarchy of PromiseInterface

All classes that implement PromiseInterface

File

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

Namespace

Prophecy\Promise
View source
interface PromiseInterface {

  /**
   * Evaluates promise.
   *
   * @param array          $args
   * @param ObjectProphecy $object
   * @param MethodProphecy $method
   *
   * @return mixed
   */
  public function execute(array $args, ObjectProphecy $object, MethodProphecy $method);

}

Members

Namesort descending Modifiers Type Description Overrides
PromiseInterface::execute public function Evaluates promise. 4