mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-04-03 19:43:43 +00:00
Resolve "Notification aux groupes utilisateurs"
This commit is contained in:
@@ -256,6 +256,21 @@ class UserGroup
|
||||
return true;
|
||||
}
|
||||
|
||||
public function isUser(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return a locale for the userGroup.
|
||||
*
|
||||
* Currently hardcoded, should be replaced by a property.
|
||||
*/
|
||||
public function getLocale(): string
|
||||
{
|
||||
return 'fr';
|
||||
}
|
||||
|
||||
public function contains(User $user): bool
|
||||
{
|
||||
return $this->users->contains($user);
|
||||
|
||||
Reference in New Issue
Block a user