public getRepository ( ) : WellCommerce\Bundle\DoctrineBundle\Repository\RepositoryInterface | ||
return | WellCommerce\Bundle\DoctrineBundle\Repository\RepositoryInterface |
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; }