phpDocumentor

ConfigurationStorageDoctrineRepository implements ConfigurationStorageRepository

Class LegacyStorageRepository

Interfaces, Classes and Traits

ConfigurationStorageRepository
Interface ConfigurationStorageRepository

Table of Contents

$namespaceConverter  : NamespaceConverter
$reader  : ConfigurationStorageReader
$writer  : ConfigurationStorageWriter
__construct()  : mixed
LegacyStorageRepository constructor.
delete()  : void
Deletes a configuration from namespace by using the given key.
deleteAll()  : void
Deletes all configurations from namespace.
get()  : string
Returns the configuration value of the given key.
getAll()  : array<string|int, mixed>
Returns a list of all configurations in the current namespace.
getAllTree()  : array<string|int, mixed>
Returns a list of all configurations in the current namespace.
is()  : bool
Checks if configuration value of given key represents true boolean.
set()  : void
Sets a configuration with the given value.
setAll()  : void
Updates a list of configurations.

Properties

Methods

delete()

Deletes a configuration from namespace by using the given key.

public delete(string $key) : void
Parameters
$key : string
Tags
inheritDoc
Return values
void

deleteAll()

Deletes all configurations from namespace.

public deleteAll([string $prefix = '' ]) : void
Parameters
$prefix : string = ''
Tags
inheritDoc
Return values
void

getAll()

Returns a list of all configurations in the current namespace.

public getAll([string $prefix = '' ]) : array<string|int, mixed>
Parameters
$prefix : string = ''
Tags
inheritDoc
Return values
array<string|int, mixed>

getAllTree()

Returns a list of all configurations in the current namespace.

public getAllTree([string $prefix = '' ]) : array<string|int, mixed>
Parameters
$prefix : string = ''
Tags
inheritDoc
Return values
array<string|int, mixed>

is()

Checks if configuration value of given key represents true boolean.

public is(string $key) : bool
Parameters
$key : string
Tags
inheritDoc
Return values
bool

set()

Sets a configuration with the given value.

public set(string $key, string $value) : void
Parameters
$key : string
$value : string
Tags
inheritDoc
Return values
void

setAll()

Updates a list of configurations.

public setAll(array<string|int, mixed> $configTree) : void
Parameters
$configTree : array<string|int, mixed>
Tags
inheritDoc
Return values
void

Search results