diff --git a/src/Validator.php b/src/Validator.php index 2da8edb..71ae490 100644 --- a/src/Validator.php +++ b/src/Validator.php @@ -2,12 +2,13 @@ namespace Bluesquare; +use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; use Symfony\Component\HttpFoundation\JsonResponse; use Symfony\Component\HttpFoundation\RequestStack; use Symfony\Contracts\Translation\TranslatorInterface; use Traversable; -class Validator +class Validator extends ServiceEntityRepository { protected $request; protected $context;