TaggableFileStore extends FileStore
TaggableFileStore Class.
Custom file based cache driver with supports for Tags Inspired by unikent/taggedFileCache
Tags
Table of Contents
| $separator | string | |
|---|---|---|
| $tagRepository | string | |
| $ds | string | |
| __construct() | Create a new file cache store instance. | mixed | 
| path() | Get the full path for the given cache key. | string | 
| tags() | Begin executing a new tags operation. | TaggedFileCache | 
| flushOldTag() | Flush old tags path when a tag is flushed. | mixed | 
Properties
$separator
        public
                string
        $separator
            
            
$tagRepository
        public
                string
        $tagRepository
         = 'cache_tags'    
            
$ds
        public
                string
        $ds
         = '/'    
            
Methods
__construct()
Create a new file cache store instance.
        public
                                __construct(
                    
                            $files :
                Filesystem
                            
                    
            ,                 $directory :
                string
                            
                    
            ,                 $options :
                array
                            
                )
        : mixed
    
    
            Parameters
- $files : Filesystem
 - $directory : string
 - $options : array
 
Return values
mixedpath()
Get the full path for the given cache key.
        protected
                                path(
                    
                            $key :
                string
                            
                )
        : string
    
    
            Parameters
- $key : string
 
Return values
stringtags()
Begin executing a new tags operation.
        public
                                tags(
                    
                            $names :
                array|mixed
                            
                )
        : TaggedFileCache
    
    
            Parameters
- $names : array|mixed
 
Return values
TaggedFileCacheflushOldTag()
Flush old tags path when a tag is flushed.
        public
                                flushOldTag(
                    
                            $tagId :
                string
                            
                )
        : mixed
    
    
            Parameters
- $tagId : string