Doctrine/ORM/Provider/PermissionProvider.php
private function getPermissionRepository()
    {
        if (null === $this->permissionRepo) {
            /** @var EntityRepository $repo */
            $repo = RepositoryUtils::getRepository($this->doctrine, PermissionInterface::class);
            $this->permissionRepo = $repo;
        }

        return $this->permissionRepo;
    }
private function getPermissionRepository()
    {
        if (null === $this->permissionRepo) {
            /** @var EntityRepository $repo */
            $repo = RepositoryUtils::getRepository($this->doctrine, PermissionInterface::class);
            $this->permissionRepo = $repo;
        }

        return $this->permissionRepo;
    }
private function getPermissionRepository ( ) { if ( null === $ this -> permissionRepo ) { /** @var EntityRepository $repo */ $ repo = RepositoryUtils :: getRepository ( $ this -> doctrine , PermissionInterface :: class ) ; $ this -> permissionRepo = $ repo ; } return $ this -> permissionRepo ; }
Get the permission repository.

@return EntityRepository
Get the permission repository .