UserFrosting API

TaggableFileStore extends FileStore

TaggableFileStore Class.

Custom file based cache driver with supports for Tags Inspired by unikent/taggedFileCache

Tags
author

Louis Charette

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

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
mixed

path()

Get the full path for the given cache key.

protected path( $key : string ) : string
Parameters
$key : string
Return values
string

flushOldTag()

Flush old tags path when a tag is flushed.

public flushOldTag( $tagId : string ) : mixed
Parameters
$tagId : string
Return values
mixed

Search results