PHP Class Pinq\Caching\QueryCache

Author: Elliot Levin ([email protected])
Inheritance: implements Pinq\Caching\IQueryCache
Mostrar archivo Open project: timetoogo/pinq

Public Methods

Method Description
__construct ( Pinq\Caching\ICacheAdapter $cacheAdapter )
clear ( )
getCacheAdapter ( )
remove ( $hash )
save ( $hash, Pinq\Queries\IQuery $query )
tryGet ( $hash )

Method Details

__construct() public method

public __construct ( Pinq\Caching\ICacheAdapter $cacheAdapter )
$cacheAdapter Pinq\Caching\ICacheAdapter

clear() public method

public clear ( )

getCacheAdapter() public method

public getCacheAdapter ( )

remove() public method

public remove ( $hash )

save() public method

public save ( $hash, Pinq\Queries\IQuery $query )
$query Pinq\Queries\IQuery

tryGet() public method

public tryGet ( $hash )