class MemoryCacheSettingsRepository implements SettingsRepositoryInterface

Properties

protected $isCached
protected $cache

Methods

array
all()

No description

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

<p>You generally should use the Settings extender's <code>default</code> method instead to register default values.</p>

void
set(string $key, mixed $value)

No description

void
delete(string $keyLike)

No description

Details

__construct(SettingsRepositoryInterface $inner)

Parameters

SettingsRepositoryInterface $inner

array all()

Return Value

array

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

<p>You generally should use the Settings extender's <code>default</code> method instead to register default values.</p>

<p>You may still need to use the <code>$default</code> parameters here in cases where you need to access the default value of a dynamic setting.</p>

Parameters

string $key
mixed $default

Return Value

mixed

void set(string $key, mixed $value)

Parameters

string $key
mixed $value

Return Value

void

void delete(string $keyLike)

Parameters

string $keyLike

Return Value

void