\OCPICacheFactory

Interface ICacheFactory

Summary

Methods
Constants
create()
isAvailable()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

create()

create(string  $prefix = '') : \OCP\ICache

Get a memory cache instance

All entries added trough the cache instance will be namespaced by $prefix to prevent collisions between apps

Parameters

string $prefix

Returns

\OCP\ICache

isAvailable()

isAvailable() : boolean

Check if any memory cache backend is available

Returns

boolean