Open Journal Systems
3.3.0
PromiseInterface.php
1
<?php
2
namespace
GuzzleHttp\Promise
;
3
13
interface
PromiseInterface
14
{
15
const
PENDING
=
'pending'
;
16
const
FULFILLED
=
'fulfilled'
;
17
const
REJECTED
=
'rejected'
;
18
28
public
function
then
(
29
callable $onFulfilled =
null
,
30
callable $onRejected =
null
31
);
32
43
public
function
otherwise
(callable $onRejected);
44
53
public
function
getState
();
54
61
public
function
resolve
($value);
62
69
public
function
reject
($reason);
70
76
public
function
cancel
();
77
92
public
function
wait
($unwrap =
true
);
93
}
GuzzleHttp\Promise\PromiseInterface\wait
wait($unwrap=true)
GuzzleHttp\Promise\PromiseInterface\then
then(callable $onFulfilled=null, callable $onRejected=null)
GuzzleHttp\Promise\PromiseInterface
Definition:
PromiseInterface.php:13
GuzzleHttp\Promise\PromiseInterface\otherwise
otherwise(callable $onRejected)
GuzzleHttp\Promise\PromiseInterface\reject
reject($reason)
GuzzleHttp\Promise\PromiseInterface\resolve
resolve($value)
GuzzleHttp\Promise\PromiseInterface\cancel
cancel()
GuzzleHttp\Promise\PromiseInterface\FULFILLED
const FULFILLED
Definition:
PromiseInterface.php:16
GuzzleHttp\Promise\PromiseInterface\PENDING
const PENDING
Definition:
PromiseInterface.php:15
GuzzleHttp\Promise\PromiseInterface\getState
getState()
GuzzleHttp\Promise\PromiseInterface\REJECTED
const REJECTED
Definition:
PromiseInterface.php:17
GuzzleHttp\Promise
Definition:
AggregateException.php:2
plugins
paymethod
paypal
vendor
guzzlehttp
promises
src
PromiseInterface.php
Generated on Fri Aug 28 2020 14:53:15 for Open Journal Systems by
1.8.17