class Roles extends ParameterBag (View source)

Methods

__construct(EntityManager $entityManager)

SettingsBag constructor.

getRepository()

No description

populateParameters()

No description

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

Get role by name or create it if non-existant.

array
all()

No description

Details

__construct(EntityManager $entityManager)

SettingsBag constructor.

Parameters

EntityManager $entityManager

RoleRepository getRepository()

Return Value

RoleRepository

protected populateParameters()

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

Get role by name or create it if non-existant.

Parameters

string $key
null $default
bool $deep

Return Value

Role

array all()

Return Value

array