PHP Interface ManaPHP\Counter\AdapterInterface

Show file Open project: manaphp/manaphp Interface Usage Examples

Public Methods

Method Description
delete ( string $type, string $id ) : void
get ( string $type, string $id ) : integer
increment ( string $type, string $id, integer $step = 1 ) : integer

Method Details

delete() public method

public delete ( string $type, string $id ) : void
$type string
$id string
return void

get() public method

public get ( string $type, string $id ) : integer
$type string
$id string
return integer

increment() public method

public increment ( string $type, string $id, integer $step = 1 ) : integer
$type string
$id string
$step integer
return integer