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