1
0
mirror of synced 2024-11-28 15:46:04 +03:00

Update dependency injection

This commit is contained in:
Кривич Сергей 2022-07-21 17:44:16 +03:00
parent a61d276a83
commit 4b37b0c17c

View File

@ -6,8 +6,7 @@ use RetailCrm\ServiceBundle\ArgumentResolver\CallbackValueResolver;
use RetailCrm\ServiceBundle\ArgumentResolver\ClientValueResolver;
use RetailCrm\ServiceBundle\Messenger\MessageHandler;
use RetailCrm\ServiceBundle\Response\ErrorJsonResponseFactory;
use RetailCrm\ServiceBundle\Security\CallbackClientAuthenticator;
use RetailCrm\ServiceBundle\Security\FrontApiClientAuthenticator;
use RetailCrm\ServiceBundle\Security\ApiClientAuthenticator;
use RetailCrm\ServiceBundle\Serializer\JMSSerializerAdapter;
use RetailCrm\ServiceBundle\Serializer\SymfonySerializerAdapter;
use Symfony\Component\DependencyInjection\ContainerBuilder;
@ -88,11 +87,7 @@ class RetailCrmServiceExtension extends Extension
->setAutowired(true);
$container
->register(CallbackClientAuthenticator::class)
->setAutowired(true);
$container
->register(FrontApiClientAuthenticator::class)
->register(ApiClientAuthenticator::class)
->setAutowired(true);
$container