public function getGroup($groupName)
{
if (isset($this->groups[$groupName])) {
return $this->groups[$groupName];
}
$group = $this->getGroupsCollection()->findOne(['name' => $groupName]);
if (isset($group['resources'])) {
$this->groups[$groupName] = $group['resources']->getArrayCopy();
return $this->groups[$groupName];
}
return false;
}