src/Repositories/PermissionRepository.php
protected function createGroupPresence($id, $label, array $children = [])
    {
        return new AclPresence([
            'type'     => AclPresenceType::GROUP,
            'id'       => $id,
            'label'    => $label,
            'children' => $children,
        ]);
    }
protected function createGroupPresence($id, $label, array $children = [])
    {
        return new AclPresence([
            'type'     => AclPresenceType::GROUP,
            'id'       => $id,
            'label'    => $label,
            'children' => $children,
        ]);
    }
Creates an AclPresence instance that represents a group.

@param string                               $id
@param string                               $label
@param array|array[]|AclPresenceInterface[] $children
@return AclPresenceInterface