Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
pthreads
Thenable
PHP Class pthreads\Thenable
Inheritance:
extends
Promisable
,
implements
pthreads\IThenable
显示文件
Open project: krakjoe/promises
Protected Properties
Property
Type
Description
$promise
Public Methods
Method
Description
__construct
(
Promise
$promise
)
getPromise
( )
onError
(
Promisable
$promised
)
onFulfilled
(
Promisable
$promised
)
run
( )
Method Details
__construct()
public
method
public
__construct
(
Promise
$promise
)
$promise
Promise
getPromise()
public
method
public
getPromise
( )
onError()
public
method
public
onError
(
Promisable
$promised
)
$promised
Promisable
onFulfilled()
public
method
public
onFulfilled
(
Promisable
$promised
)
$promised
Promisable
run()
public
method
public
run
( )
Property Details
$promise
protected_oe property
protected
$promise