public function loadSection($sectionId) { if ($this->repository->hasAccess('section', 'view') !== true) { throw new UnauthorizedException('section', 'view'); } $spiSection = $this->sectionHandler->load($sectionId); return $this->buildDomainSectionObject($spiSection); }