phpDocumentor

FileCacheFactory
in package
implements CacheFactory

Class FileCacheFactory

Interfaces, Classes and Traits

CacheFactory
Interface CacheFactory

Table of Contents

$allowedClasses  : array<string|int, string>
$cacheInitializer  : CacheInitializerAggregate
$fileCacheRepository  : FileCacheRepository
__construct()  : mixed
CacheFactory constructor.
allowDeserializationOf()  : void
Allows the internal deserialization of a PHP class.
createCacheFor()  : SafeCache
Creates an exception handling PSR based cache based on the given namespace.
createPsrCacheFor()  : CacheInterface
Creates an exception throwing PSR based cache based on the given namespace.

Properties

Methods

allowDeserializationOf()

Allows the internal deserialization of a PHP class.

public allowDeserializationOf(string ...$classes) : void
Parameters
$classes : string
Tags
inheritDoc
Return values
void

createCacheFor()

Creates an exception handling PSR based cache based on the given namespace.

public createCacheFor(string $namespace) : SafeCache
Parameters
$namespace : string
Tags
inheritDoc
Return values
SafeCache

createPsrCacheFor()

Creates an exception throwing PSR based cache based on the given namespace.

public createPsrCacheFor(string $namespace) : CacheInterface
Parameters
$namespace : string
Tags
inheritDoc
Return values
CacheInterface

Search results