class Roles extends AbstractBag (View source)

Methods

get(string $roleName)

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

__construct(EntityManager $entityManager)

SettingsBag constructor.

getRepository()

No description

Details

get(string $roleName)

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

Parameters

string $roleName

__construct(EntityManager $entityManager)

SettingsBag constructor.

Parameters

EntityManager $entityManager

RoleRepository getRepository()

Return Value

RoleRepository