var/cache/website/dev/ContainerLQ9Xdxx/getSuluPage_ContentRepositoryService.php line 18

Open in your IDE?
  1. <?php
  2. namespace ContainerLQ9Xdxx;
  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 getSuluPage_ContentRepositoryService extends App_KernelDevDebugContainer
  9. {
  10. /**
  11. * Gets the public 'sulu_page.content_repository' shared service.
  12. *
  13. * @return \Sulu\Component\Content\Repository\ContentRepository
  14. */
  15. public static function do($container, $lazyLoad = true)
  16. {
  17. include_once \dirname(__DIR__, 5).'/vendor/sulu/sulu/src/Sulu/Component/Content/Repository/ContentRepositoryInterface.php';
  18. include_once \dirname(__DIR__, 5).'/vendor/sulu/sulu/src/Sulu/Component/Content/Repository/ContentRepository.php';
  19. $a = ($container->services['sulu.phpcr.session'] ?? $container->getSulu_Phpcr_SessionService());
  20. if (isset($container->services['sulu_page.content_repository'])) {
  21. return $container->services['sulu_page.content_repository'];
  22. }
  23. $b = ($container->services['sulu.content.structure_manager'] ?? $container->getSulu_Content_StructureManagerService());
  24. if (isset($container->services['sulu_page.content_repository'])) {
  25. return $container->services['sulu_page.content_repository'];
  26. }
  27. $c = ($container->services['sulu.util.node_helper'] ?? $container->load('getSulu_Util_NodeHelperService'));
  28. if (isset($container->services['sulu_page.content_repository'])) {
  29. return $container->services['sulu_page.content_repository'];
  30. }
  31. return $container->services['sulu_page.content_repository'] = new \Sulu\Component\Content\Repository\ContentRepository($a, ($container->services['sulu_document_manager.property_encoder'] ?? $container->getSuluDocumentManager_PropertyEncoderService()), ($container->services['sulu_core.webspace.webspace_manager'] ?? $container->getSuluCore_Webspace_WebspaceManagerService()), ($container->services['sulu.content.localization_finder'] ?? $container->load('getSulu_Content_LocalizationFinderService')), $b, $c, ($container->privates['sulu_security.system_store'] ?? $container->getSuluSecurity_SystemStoreService()), $container->parameters['sulu_security.permissions']);
  32. }
  33. }