Cache
extends Cache
in package
Table of Contents
- $app : App
- $resolvedInstance : array<string|int, mixed>
- __callStatic() : mixed
- add() :
- clear() :
- clearResolvedInstances() : mixed
- clear
- decrement() :
- delete() :
- deleteMultiple() :
- get() :
- getMultiple() :
- getSet() :
- has() :
- increment() :
- set() :
- setFacadeApplication() : mixed
- {@inheritDoc}
- setMultiple() :
- getFacadeAccessor() : string
- getFacadeRoot() : object|stdClass
- resolveFacadeInstance() : object
Properties
$app
protected
static App
$app
$resolvedInstance
protected
static array<string|int, mixed>
$resolvedInstance
Methods
__callStatic()
public
static __callStatic( $method, $args) : mixed
Parameters
Tags
Return values
mixed —add()
public
static add(string $key, mixed $value, mixed $ttl) :
Parameters
- $key : string
- $value : mixed
- $ttl : mixed
Return values
—clear()
public
static clear() :
Return values
—clearResolvedInstances()
clear
public
static clearResolvedInstances() : mixed
Return values
mixed —decrement()
public
static decrement(string $key, mixed $value) :
Parameters
- $key : string
- $value : mixed
Return values
—delete()
public
static delete(string $key) :
Parameters
- $key : string
Return values
—deleteMultiple()
public
static deleteMultiple(array<string|int, mixed> $keys) :
Parameters
- $keys : array<string|int, mixed>
Return values
—get()
public
static get(string $key, mixed $default) :
Parameters
- $key : string
- $default : mixed
Return values
—getMultiple()
public
static getMultiple(array<string|int, mixed> $keys) :
Parameters
- $keys : array<string|int, mixed>
Return values
—getSet()
public
static getSet(string $key, mixed $ttl, mixed $default) :
Parameters
- $key : string
- $ttl : mixed
- $default : mixed
Return values
—has()
public
static has(string $key) :
Parameters
- $key : string
Return values
—increment()
public
static increment(string $key, mixed $value) :
Parameters
- $key : string
- $value : mixed
Return values
—set()
public
static set(string $key, mixed $value, mixed $ttl) :
Parameters
- $key : string
- $value : mixed
- $ttl : mixed
Return values
—setFacadeApplication()
{@inheritDoc}
public
static setFacadeApplication(App $app) : mixed
Parameters
- $app : App
Return values
mixed —setMultiple()
public
static setMultiple(array<string|int, mixed> $items, mixed $ttl) :
Parameters
- $items : array<string|int, mixed>
- $ttl : mixed
Return values
—getFacadeAccessor()
protected
abstract static getFacadeAccessor() : string
Return values
string —getFacadeRoot()
protected
static getFacadeRoot() : object|stdClass
Return values
object|stdClass —resolveFacadeInstance()
protected
static resolveFacadeInstance(string $mainClass) : object
Parameters
- $mainClass : string