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

Breadcrumb

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

function Promise::getState

Same name in this branch
  1. 11.1.x vendor/php-http/promise/src/Promise.php \Http\Promise\Promise::getState()
  2. 11.1.x vendor/guzzlehttp/promises/src/Promise.php \GuzzleHttp\Promise\Promise::getState()

Overrides Promise::getState

1 call to Promise::getState()
Promise::wait in vendor/php-http/guzzle7-adapter/src/Promise.php
Wait for the promise to be fulfilled or rejected.

File

vendor/php-http/guzzle7-adapter/src/Promise.php, line 78

Class

Promise
Wrapper around Guzzle promises.

Namespace

Http\Adapter\Guzzle7

Code

public function getState() {
    return $this->state;
}

API Navigation

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