ZendCacheDriver
class ZendCacheDriver extends AbstractAdapter implements StorageInterface, FlushableInterface (View source)
Class ZendCacheDriver Adapter class to hook Zend's cache into Concrete5's cache.
By passing this class into various Zend classes, it tells Zend use it for storing and retrieving cache values. Values are passed through here and onto Concrete5's caching layer which uses the Stash library. Allows us to use many of the helpful Zend classes without having to maintain a separate cache configuration.
Currently used by:
- Concrete\Core\Feed\FeedService
- Concrete\Core\Localization\Localization
\@package Concrete\Core\Cache\Adapter
Properties
| private string | $cacheName | ||
| protected int | $cacheLifetime | 
Methods
No description
Internal method to get an item.
Internal method to store an item.
Internal method to remove an item.
Flush the whole storage.
Details
        
                            
    __construct(string $cacheName = 'cache', int $cacheLifetime = null)
        
    
    No description
        
                    protected        mixed
    internalGetItem(string $normalizedKey, bool $success = null, mixed $casToken = null)
        
    
    Internal method to get an item.
        
                    protected        bool
    internalSetItem(string $normalizedKey, mixed $value)
        
    
    Internal method to store an item.
        
                    protected        bool
    internalRemoveItem(string $normalizedKey)
        
    
    Internal method to remove an item.
        
                            bool
    flush()
        
    
    Flush the whole storage.