class Settings extends ParameterBag (View source)

Class Settings

Methods

__construct(EntityManager $entityManager)

SettingsBag constructor.

getRepository()

No description

populateParameters()

No description

bool|mixed
get(string $key, null $default = null, bool $deep = false)

No description

Document|null
getDocument(string $key)

Get a document from its setting name.

array
all()

No description

Details

__construct(EntityManager $entityManager)

SettingsBag constructor.

Parameters

EntityManager $entityManager

SettingRepository getRepository()

Return Value

SettingRepository

protected populateParameters()

bool|mixed get(string $key, null $default = null, bool $deep = false)

Parameters

string $key
null $default
bool $deep

Return Value

bool|mixed

Document|null getDocument(string $key)

Get a document from its setting name.

Parameters

string $key

Return Value

Document|null

array all()

Return Value

array