public function loadByIdentifier($identifier) { $rows = $this->sectionGateway->loadSectionDataByIdentifier($identifier); if (empty($rows)) { throw new NotFound('Section', $identifier); } return $this->createSectionFromArray(reset($rows)); }