class EnvironmentConfiguration (View source)

Global Configuration about the environment to be used by caches.

Properties

protected string $applicationIdentifier

A identifier for this installation, all applications with the same identifier would share entries of caches that are used by multiple installations.

protected string $fileCacheBasePath

Base path for any file based caches.

protected int $maximumPathLength

The maximum allowed length of a path.

Methods

__construct(string $applicationIdentifier, string $fileCacheBasePath, int $maximumPathLength = PHP_MAXPATHLEN)

EnvironmentConfiguration constructor.

int
getMaximumPathLength()

No description

string
getFileCacheBasePath()

No description

string
getApplicationIdentifier()

No description

Details

__construct(string $applicationIdentifier, string $fileCacheBasePath, int $maximumPathLength = PHP_MAXPATHLEN)

EnvironmentConfiguration constructor.

Parameters

string $applicationIdentifier
string $fileCacheBasePath
int $maximumPathLength

int getMaximumPathLength()

No description

Return Value

int

string getFileCacheBasePath()

No description

Return Value

string

string getApplicationIdentifier()

No description

Return Value

string