File tree 1 file changed +0
-9
lines changed 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -287,8 +287,6 @@ method that fits most use-cases::
287
287
// src/Security/ApiKeyAuthenticator.php
288
288
namespace App\Security;
289
289
290
- use App\Entity\User;
291
- use Doctrine\ORM\EntityManagerInterface;
292
290
use Symfony\Component\HttpFoundation\JsonResponse;
293
291
use Symfony\Component\HttpFoundation\Request;
294
292
use Symfony\Component\HttpFoundation\Response;
@@ -302,13 +300,6 @@ method that fits most use-cases::
302
300
303
301
class ApiKeyAuthenticator extends AbstractAuthenticator
304
302
{
305
- private $entityManager;
306
-
307
- public function __construct(EntityManagerInterface $entityManager)
308
- {
309
- $this->entityManager = $entityManager;
310
- }
311
-
312
303
/**
313
304
* Called on every request to decide if this authenticator should be
314
305
* used for the request. Returning `false` will cause this authenticator
You can’t perform that action at this time.
0 commit comments