var/cache/dev/ContainerMoID9Kx/getSylius_Controller_ProductService.php line 18

  1. <?php
  2. namespace ContainerMoID9Kx;
  3. use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
  4. use Symfony\Component\DependencyInjection\Exception\RuntimeException;
  5. /**
  6.  * @internal This class has been auto-generated by the Symfony Dependency Injection Component.
  7.  */
  8. class getSylius_Controller_ProductService extends App_KernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the public 'sylius.controller.product' shared service.
  12.      *
  13.      * @return \Sylius\Bundle\ResourceBundle\Controller\ResourceController
  14.      */
  15.     public static function do($container$lazyLoad true)
  16.     {
  17.         include_once \dirname(__DIR__4).'/vendor/sylius/resource-bundle/src/Bundle/Controller/ControllerTrait.php';
  18.         include_once \dirname(__DIR__4).'/vendor/symfony/dependency-injection/ContainerAwareTrait.php';
  19.         include_once \dirname(__DIR__4).'/vendor/sylius/resource-bundle/src/Bundle/Controller/ResourceController.php';
  20.         include_once \dirname(__DIR__4).'/vendor/sylius/resource-bundle/src/Component/Metadata/MetadataInterface.php';
  21.         include_once \dirname(__DIR__4).'/vendor/sylius/resource-bundle/src/Component/Metadata/Metadata.php';
  22.         include_once \dirname(__DIR__4).'/vendor/sylius/resource-bundle/src/Bundle/Controller/SingleResourceProviderInterface.php';
  23.         include_once \dirname(__DIR__4).'/vendor/sylius/resource-bundle/src/Bundle/Controller/SingleResourceProvider.php';
  24.         include_once \dirname(__DIR__4).'/vendor/sylius/resource-bundle/src/Bundle/Controller/AuthorizationCheckerInterface.php';
  25.         include_once \dirname(__DIR__4).'/vendor/sylius/resource-bundle/src/Bundle/Controller/DisabledAuthorizationChecker.php';
  26.         $container->services['sylius.controller.product'] = $instance = new \Sylius\Bundle\ResourceBundle\Controller\ResourceController(($container->privates['sylius.resource_registry'] ?? $container->getSylius_ResourceRegistryService())->get('sylius.product'), ($container->privates['sylius.resource_controller.request_configuration_factory'] ?? $container->load('getSylius_ResourceController_RequestConfigurationFactoryService')), ($container->privates['sylius.resource_controller.view_handler'] ?? $container->load('getSylius_ResourceController_ViewHandlerService')), ($container->services['sylius.repository.product'] ?? $container->load('getSylius_Repository_ProductService')), ($container->services['Sylius\\Component\\Product\\Factory\\ProductFactoryInterface'] ?? $container->load('getProductFactoryInterfaceService')), ($container->privates['Sylius\\PayPalPlugin\\Factory\\PayPalPaymentMethodNewResourceFactory'] ?? $container->load('getPayPalPaymentMethodNewResourceFactoryService')), ($container->services['doctrine.orm.default_entity_manager'] ?? $container->getDoctrine_Orm_DefaultEntityManagerService()), ($container->privates['sylius.resource_controller.single_resource_provider'] ??= new \Sylius\Bundle\ResourceBundle\Controller\SingleResourceProvider()), ($container->privates['sylius.resource_controller.resources_collection_provider'] ?? $container->load('getSylius_ResourceController_ResourcesCollectionProviderService')), ($container->privates['sylius.resource_controller.form_factory'] ?? $container->load('getSylius_ResourceController_FormFactoryService')), ($container->privates['Sylius\\Bundle\\AdminBundle\\Controller\\RedirectHandler'] ?? $container->load('getRedirectHandlerService')), ($container->privates['sylius.resource_controller.flash_helper'] ?? $container->load('getSylius_ResourceController_FlashHelperService')), ($container->privates['sylius.resource_controller.authorization_checker.disabled'] ??= new \Sylius\Bundle\ResourceBundle\Controller\DisabledAuthorizationChecker()), ($container->privates['sylius.resource_controller.event_dispatcher'] ?? $container->load('getSylius_ResourceController_EventDispatcherService')), ($container->privates['sylius.resource_controller.state_machine'] ?? $container->load('getSylius_ResourceController_StateMachineService')), ($container->privates['sylius.custom_resource_controller.resource_update_handler'] ?? $container->load('getSylius_CustomResourceController_ResourceUpdateHandlerService')), ($container->privates['sylius.custom_resource_controller.resource_delete_handler'] ?? $container->load('getSylius_CustomResourceController_ResourceDeleteHandlerService')));
  27.         $instance->setContainer($container);
  28.         return $instance;
  29.     }
  30. }