public function getRepository() : RepositoryInterface;
private function findLayoutBox($identifier) : LayoutBoxInterface { $layoutBox = $this->manager->getRepository()->findOneBy(['identifier' => $identifier]); if (!$layoutBox instanceof LayoutBoxInterface) { throw new LayoutBoxNotFoundException($identifier); } return $layoutBox; }