PHP Class Metabor\Observer\CounterObserver

Author: otischlinger
Inheritance: implements SplObserver
Show file Open project: metabor/statemachine

Protected Properties

Property Type Description
$count integer

Public Methods

Method Description
getCount ( ) : integer
resetCount ( )
update ( SplSubject $subject )

Method Details

getCount() public method

public getCount ( ) : integer
return integer

resetCount() public method

public resetCount ( )

update() public method

See also: SplObserver::update()
public update ( SplSubject $subject )
$subject SplSubject

Property Details

$count protected property

protected int $count
return integer