Index Documentation

ArrayCacheBackend
in package
implements ICacheBackend

Information about the dummy cache backend.

Table of Contents

Interfaces

ICacheBackend
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|int, mixed> $dsn) : ArrayCacheProviderInfo

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

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

DSN with provider information.

Return values
ArrayCacheProviderInfo

Dummy provider info instance.


        
On this page

Search results