Update dependency injection
This commit is contained in:
parent
a61d276a83
commit
4b37b0c17c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user