PHP Class ScriptFUSION\Porter\Cache\MemoryCache

Inheritance: extends ArrayObject, implements Psr\Cache\CacheItemPoolInterface
Show file Open project: ScriptFUSION/Porter Class Usage Examples

Public Methods

Method Description
clear ( )
commit ( )
deleteItem ( $key )
deleteItems ( array $keys )
getItem ( $key )
getItems ( array $keys = [] )
hasItem ( $key )
save ( Psr\Cache\CacheItemInterface $item )
saveDeferred ( Psr\Cache\CacheItemInterface $item )

Method Details

clear() public method

public clear ( )

commit() public method

public commit ( )

deleteItem() public method

public deleteItem ( $key )

deleteItems() public method

public deleteItems ( array $keys )
$keys array

getItem() public method

public getItem ( $key )

getItems() public method

public getItems ( array $keys = [] )
$keys array

hasItem() public method

public hasItem ( $key )

save() public method

public save ( Psr\Cache\CacheItemInterface $item )
$item Psr\Cache\CacheItemInterface

saveDeferred() public method

public saveDeferred ( Psr\Cache\CacheItemInterface $item )
$item Psr\Cache\CacheItemInterface