ICreateNamedGroupBackend
in
Tags
Table of Contents
Methods
- createGroup() : string|null
- Tries to create a group from its name.
Methods
createGroup()
Tries to create a group from its name.
public
createGroup(string $name) : string|null
If group name already exists, null is returned. Otherwise, new group ID is returned.
Parameters
- $name : string
-
Group name
Tags
Return values
string|null —Group ID in case of success, null in case of failure