class Liaison (View source)

Class Liaison.

\@package Concrete\Core\Config\Repository

Properties

protected Repository $repository
protected string $default_namespace

Methods

__construct(Repository $repository, string $default_namespace)

Create a new configuration repository.

string
transformKey($key)

No description

bool
has($key)

No description

mixed
get($key, null $default = null)

No description

bool
save($key, $value)

No description

set($key, $value)

No description

clear($key)

No description

getRepository()

No description

setRepository(Repository $repository)

No description

string
getDefaultNamespace()

No description

setDefaultNamespace(string $default_namespace)

No description

Details

__construct(Repository $repository, string $default_namespace)

Create a new configuration repository.

Parameters

Repository $repository
string $default_namespace

protected string transformKey($key)

No description

Parameters

$key

Return Value

string

bool has($key)

No description

Parameters

$key

Return Value

bool

mixed get($key, null $default = null)

No description

Parameters

$key
null $default

Return Value

mixed

bool save($key, $value)

No description

Parameters

$key
$value

Return Value

bool

set($key, $value)

No description

Parameters

$key
$value

clear($key)

No description

Parameters

$key

Repository getRepository()

No description

Return Value

Repository

setRepository(Repository $repository)

No description

Parameters

Repository $repository

string getDefaultNamespace()

No description

Return Value

string

setDefaultNamespace(string $default_namespace)

No description

Parameters

string $default_namespace