File: /var/www/payments-gateway/var/cache/dev/Container2MaXexq/getPaymentControllerService.php
<?php
namespace Container2MaXexq;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getPaymentControllerService extends App_KernelDevDebugContainer
{
/**
* Gets the public 'App\Controller\PaymentController' shared autowired service.
*
* @return \App\Controller\PaymentController
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).'/vendor/symfony/framework-bundle/Controller/AbstractController.php';
include_once \dirname(__DIR__, 4).'/src/Controller/PaymentController.php';
include_once \dirname(__DIR__, 4).'/src/Service/PaymentService.php';
$container->services['App\\Controller\\PaymentController'] = $instance = new \App\Controller\PaymentController(new \App\Service\PaymentService(($container->privates['.debug.http_client'] ?? self::get_Debug_HttpClientService($container)), ($container->services['doctrine.orm.default_entity_manager'] ?? $container->load('getDoctrine_Orm_DefaultEntityManagerService')), ($container->privates['App\\Repository\\PaymentRepository'] ?? $container->load('getPaymentRepositoryService')), $container->getEnv('EVERYPAY_USERNAME'), $container->getEnv('EVERYPAY_SECRET'), $container->getEnv('EVERYPAY_ACCOUNT'), $container->getEnv('EVERYPAY_API_URL'), $container->getEnv('EVERYPAY_HMAC_KEY'), $container->getEnv('EVERYPAY_WEBHOOK')));
$instance->setContainer((new \Symfony\Component\DependencyInjection\Argument\ServiceLocator($container->getService ??= $container->getService(...), [
'router' => ['services', 'router', 'getRouterService', false],
'request_stack' => ['services', 'request_stack', 'getRequestStackService', false],
'http_kernel' => ['services', 'http_kernel', 'getHttpKernelService', false],
'twig' => ['privates', 'twig', 'getTwigService', false],
'parameter_bag' => ['privates', 'parameter_bag', 'getParameterBagService', false],
], [
'router' => '?',
'request_stack' => '?',
'http_kernel' => '?',
'twig' => '?',
'parameter_bag' => '?',
]))->withContext('App\\Controller\\PaymentController', $container));
return $instance;
}
}