CloneableFinalInstantiable
| Methods |
| public static exceptionFor( $reason) : Throwable Create an exception for a rejected promise value.
|
| public static iterFor( $value) : Iterator Returns an iterator for the given value.
|
| public static promiseFor( $value) : GuzzleHttp Creates a promise for a value if the value is not a promise.
|
| public static rejectionFor( $reason) : GuzzleHttp Creates a rejected promise for a reason if the reason is not a promise. If the provided reason is a promise, then it is returned as-is.
|
| Methods |
| public static exceptionFor( $reason) : Throwable Create an exception for a rejected promise value.
|
| public static iterFor( $value) : Iterator Returns an iterator for the given value.
|
| public static promiseFor( $value) : GuzzleHttp Creates a promise for a value if the value is not a promise.
|
| public static rejectionFor( $reason) : GuzzleHttp Creates a rejected promise for a reason if the reason is not a promise. If the provided reason is a promise, then it is returned as-is.
|