class GroupRepository (View source)

This class simply exists as an intermediary between the local group repository and the Group::getByPath() method.

This will enable us to test the local group repository class.

Properties

protected Connection $connection
protected RequestCache $cache

Methods

__construct(Connection $connection, RequestCache $cache)

GroupRepository constructor.

Group|null
getGroupByPath($path)

No description

Group|null
getGroupByName($name)

No description

Group|null
getGroupById($gID)

No description

Details

__construct(Connection $connection, RequestCache $cache)

GroupRepository constructor.

Parameters

Connection $connection
RequestCache $cache

Group|null getGroupByPath($path)

No description

Parameters

$path

Return Value

Group|null

Group|null getGroupByName($name)

No description

Parameters

$name

Return Value

Group|null

Group|null getGroupById($gID)

No description

Parameters

$gID

Return Value

Group|null