class Cache (View source)

Methods

static 
configure(array $config)

Cache configuration method

getInstance()

Get the cache instance

store(string $store)

Get the cache instance

static void
addAdapters(array $adapters)

Add the custom adapters

static mixed
__callStatic(string $name, array $arguments)

__call

Details

static configure(array $config)

Cache configuration method

Parameters

array $config

static CacheAdapterInterface getInstance()

Get the cache instance

Return Value

CacheAdapterInterface

static CacheAdapterInterface store(string $store)

Get the cache instance

Parameters

string $store

Return Value

CacheAdapterInterface

static void addAdapters(array $adapters)

Add the custom adapters

Parameters

array $adapters

Return Value

void

static mixed __callStatic(string $name, array $arguments)

__call

Parameters

string $name
array $arguments

Return Value

mixed

Exceptions

BadMethodCallException
ErrorException