public function RejectedPromise::getState in Auth0 Single Sign On 8.2
Get the state of the promise ("pending", "rejected", or "fulfilled").
The three states can be checked against the constants defined on PromiseInterface: PENDING, FULFILLED, and REJECTED.
Return value
string
Overrides PromiseInterface::getState
File
- vendor/
guzzlehttp/ promises/ src/ RejectedPromise.php, line 66
Class
- RejectedPromise
- A promise that has been rejected.
Namespace
GuzzleHttp\PromiseCode
public function getState() {
return self::REJECTED;
}