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