class MockPhpStorage (View source)

Mock PHP storage class used for testing.

Properties

protected array $configuration

The storage configuration.

Methods

__construct(array $configuration)

Constructs a MockPhpStorage object.

getConfiguration()

Gets the configuration data.

getConfigurationValue($key)

Gets a single configuration key.

Details

__construct(array $configuration)

Constructs a MockPhpStorage object.

Parameters

array $configuration

The storage configuration.

getConfiguration()

Gets the configuration data.

getConfigurationValue($key)

Gets a single configuration key.

Parameters

$key