<?php

namespace ContainerRBLbIxO;

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 getSuluPage_SmartContent_DataProviderPoolService extends App_KernelDevDebugContainer
{
    /**
     * Gets the public 'sulu_page.smart_content.data_provider_pool' shared service.
     *
     * @return \Sulu\Component\SmartContent\DataProviderPool
     */
    public static function do($container, $lazyLoad = true)
    {
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'Sulu'.\DIRECTORY_SEPARATOR.'Component'.\DIRECTORY_SEPARATOR.'SmartContent'.\DIRECTORY_SEPARATOR.'DataProviderPoolInterface.php';
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'Sulu'.\DIRECTORY_SEPARATOR.'Component'.\DIRECTORY_SEPARATOR.'SmartContent'.\DIRECTORY_SEPARATOR.'DataProviderPool.php';

        $container->services['sulu_page.smart_content.data_provider_pool'] = $instance = new \Sulu\Component\SmartContent\DataProviderPool();

        $instance->add('contacts', ($container->privates['sulu_contact.smart_content.data_provider.contact'] ?? $container->load('getSuluContact_SmartContent_DataProvider_ContactService')));
        $instance->add('accounts', ($container->privates['sulu_contact.smart_content.data_provider.account'] ?? $container->load('getSuluContact_SmartContent_DataProvider_AccountService')));
        $instance->add('media', ($container->privates['sulu_media.smart_content.data_provider.media'] ?? $container->load('getSuluMedia_SmartContent_DataProvider_MediaService')));
        $instance->add('snippets', ($container->privates['sulu_snippet.smart_content.snippet_data_provider'] ?? $container->load('getSuluSnippet_SmartContent_SnippetDataProviderService')));
        $instance->add('pages', ($container->privates['sulu_page.smart_content.data_provider.content'] ?? $container->load('getSuluPage_SmartContent_DataProvider_ContentService')));

        return $instance;
    }
}
