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
Originator
PHP Class Originator, php_design_patterns
显示文件
Open project: yunkaiyueming/php_design_patterns
Class Usage Examples
Public Methods
Method
Description
__construct
( )
createMemento
( )
getState
( )
restoreMemento
(
Memento
$memento
)
setState
(
$state
)
showState
( )
Method Details
__construct()
public
method
public
__construct
( )
createMemento()
public
method
public
createMemento
( )
getState()
public
method
public
getState
( )
restoreMemento()
public
method
public
restoreMemento
(
Memento
$memento
)
$memento
Memento
setState()
public
method
public
setState
(
$state
)
showState()
public
method
public
showState
( )