File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Expand file tree Collapse file tree 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::
287287 // src/Security/ApiKeyAuthenticator.php
288288 namespace App\Security;
289289
290- use App\Entity\User;
291- use Doctrine\ORM\EntityManagerInterface;
292290 use Symfony\Component\HttpFoundation\JsonResponse;
293291 use Symfony\Component\HttpFoundation\Request;
294292 use Symfony\Component\HttpFoundation\Response;
@@ -302,13 +300,6 @@ method that fits most use-cases::
302300
303301 class ApiKeyAuthenticator extends AbstractAuthenticator
304302 {
305- private $entityManager;
306-
307- public function __construct(EntityManagerInterface $entityManager)
308- {
309- $this->entityManager = $entityManager;
310- }
311-
312303 /**
313304 * Called on every request to decide if this authenticator should be
314305 * used for the request. Returning `false` will cause this authenticator
You can’t perform that action at this time.
0 commit comments