Beta version

class Roles extends AbstractBag

Methods

get(string $roleName)

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

__construct(EntityManager $entityManager)

SettingsBag constructor.

getRepository()

No description

Details

at line 74
Role get(string $roleName)

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

Parameters

string $roleName

Return Value

Role

at line 52
__construct(EntityManager $entityManager)

SettingsBag constructor.

Parameters

EntityManager $entityManager

at line 60
RoleRepository getRepository()

Return Value

RoleRepository