Index Documentation

ArrayCacheBackend
in package
implements CacheBackend

Information about the dummy cache backend.

Table of Contents

Interfaces

CacheBackend
Information about a cache provider. Should not have any external dependencies.

Methods

createProvider()  : ArrayCacheProvider
Creates a dummy cache provider.
isAvailable()  : bool
Checks whether the driver is available and a provider can be made.
parseDsn()  : ArrayCacheProviderInfo
Constructs a cache info instance from a dsn.

Methods

isAvailable()

Checks whether the driver is available and a provider can be made.

public isAvailable() : bool
Return values
bool

If true a provider can be made, if false a required extension is missing.

parseDsn()

Constructs a cache info instance from a dsn.

public parseDsn(string|array<string, string|int> $dsn) : ArrayCacheProviderInfo

ArrayCache has no parameters that can be controlled using the DSN.

Parameters
$dsn : string|array<string, string|int>

DSN with provider information.

Return values
ArrayCacheProviderInfo

Dummy provider info instance.


        
On this page

Search results