abstract public loadGroupData ( integer $groupId ) : array | ||
$groupId | integer | |
return | array |
public abstract function loadGroupData($groupId);
/** * @param mixed $groupId * * @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException If type group with $groupId is not found * * @return Group */ public function loadGroup($groupId) { $groups = $this->mapper->extractGroupsFromRows($this->contentTypeGateway->loadGroupData($groupId)); if (count($groups) !== 1) { throw new Exception\TypeGroupNotFound($groupId); } return $groups[0]; }