ArrayCache
class ArrayCache implements CacheInterface
Properties
| protected array | $cache | Cache data. | 
Methods
                    bool
                
                
                    contains(string $key)
        
                                            
                
            Check if a key exists in the cache.
                    mixed
                
                
                    get(string $key)
        
                                            
                
            Get a key from the cache.
                    set(string $key, mixed $data)
        
                                            
                
            Set a key in the cache.
                    delete(string $key)
        
                                            
                
            Delete a key from the cache.
                    flush()
        
                                            
                
            Flush the cache.
Details
        at         line 17
                            bool
    contains(string $key)
        
    
    Check if a key exists in the cache.
        at         line 25
                            mixed
    get(string $key)
        
    
    Get a key from the cache.
        at         line 33
                            
    set(string $key, mixed $data)
        
    
    Set a key in the cache.
        at         line 41
                            
    delete(string $key)
        
    
    Delete a key from the cache.
        at         line 49
                            
    flush()
        
    
    Flush the cache.