UserFrosting API

TaggableFileStore extends ArrayStore

TaggableFileStore Class.

Setup a cache instance using the custom tfile driver

Tags
author

Louis Charette

Table of Contents

$config Repository
$app Container
$storeName string
__construct() Extend the `ArrayStore` contructor to accept the tfile driver $path config and setup the necessary config. mixed
instance() Return the store instance from the Laravel CacheManager. Store
__construct() Create the empty Illuminate Container and required config. mixed
instance() Return the store instance from the Laravel CacheManager. Store

Properties

Methods

__construct()

Extend the `ArrayStore` contructor to accept the tfile driver $path config and setup the necessary config.

public __construct( [ $path : string = './' ] [, $storeName : string = 'default' ] [, $app : Container|null = null ] ) : mixed
Parameters
$path : string = './'

(default: "./")

$storeName : string = 'default'

(default: "default")

$app : Container|null = null

(default: null)

Return values
mixed

instance()

Return the store instance from the Laravel CacheManager.

public instance( ) : Store
Return values
Store

Laravel Cache instance

__construct()

Create the empty Illuminate Container and required config.

public __construct( [ $storeName : string = 'default' ] [, $app : Container|null = null ] ) : mixed
Parameters
$storeName : string = 'default'

(default: "default")

$app : Container|null = null

(default: null)

Return values
mixed

instance()

Return the store instance from the Laravel CacheManager.

public instance( ) : Store
Return values
Store

Laravel Cache instance

Search results