/**
* Get section data by identifier
*
* @param string $identifier
*
* @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException If section is not found
*
* @return \eZ\Publish\SPI\Persistence\Content\Section
*/
public function loadByIdentifier($identifier)
{
$rows = $this->sectionGateway->loadSectionDataByIdentifier($identifier);
if (empty($rows)) {
throw new NotFound("Section", $identifier);
}
return $this->createSectionFromArray(reset($rows));
}