Method |
Description |
|
getCache ( ) : Pinq\Caching\IQueryCache |
Returns a query cache with the configured adapter. |
|
getCacheAdapter ( ) : Pinq\Caching\ICacheAdapter |
Returns the configured cache implementation |
|
removeCache ( ) : void |
Removes the configured cache implementation. |
|
setArrayAccessCache ( ArrayAccess $cache ) : void |
Uses the supplied array access cache to store the parsed queries. |
|
setCustomCache ( Pinq\Caching\ICacheAdapter $cache ) : void |
Uses the supplied cache to store the parsed queries. |
|
setDevelopmentMode ( boolean $isDevelopmentMode ) : void |
If set to true, the cache will be cleared when needed. |
|
setDirectoryCache ( string $directory, string $fileExtension = DirectoryCache::DEFAULT_EXTENSION ) : void |
Uses the supplied directory to store the parsed queries. |
|
setDoctrineCache ( CacheProvider $cache ) : void |
Uses the supplied doctrine cache to store the parsed queries. |
|
setFileCache ( string $fileName ) : void |
Uses the supplied file to store the parsed queries. |
|