PHP Class Originator, php_design_patterns

Exibir arquivo 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 ( )