private function handleApiLoading(ContainerBuilder $container, FileLoader $loader)
    {
        // Loading configuration from Core/settings
        $coreLoader = new Loader\YamlFileLoader(
            $container,
            new FileLocator(__DIR__ . '/../../../Publish/Core/settings')
        );
        $coreLoader->load('repository.yml');
        $coreLoader->load('repository/inner.yml');
        $coreLoader->load('repository/signalslot.yml');
        $coreLoader->load('repository/siteaccessaware.yml');
        $coreLoader->load('fieldtype_external_storages.yml');
        $coreLoader->load('fieldtypes.yml');
        $coreLoader->load('indexable_fieldtypes.yml');
        $coreLoader->load('roles.yml');
        $coreLoader->load('storage_engines/common.yml');
        $coreLoader->load('storage_engines/cache.yml');
        $coreLoader->load('storage_engines/legacy.yml');
        $coreLoader->load('storage_engines/shortcuts.yml');
        $coreLoader->load('search_engines/common.yml');
        $coreLoader->load('utils.yml');
        $coreLoader->load('io.yml');
        $coreLoader->load('policies.yml');
        $coreLoader->load('notification.yml');
        $coreLoader->load('user_preference.yml');

        // Load Core RichText settings
        if (!$this->isRichTextBundleEnabled($container)) {
            $coreLoader->load('richtext.yml');
        }

        // Public API services
        $loader->load('papi.yml');

        // Built-in field types
        $loader->load('fieldtype_services.yml');

        // Storage engine
        $loader->load('storage_engines.yml');

        // Load CoreBundle RichText settings
        if (!$this->isRichTextBundleEnabled($container)) {
            $loader->load('richtext.yml');
        }
    }
private function handleApiLoading(ContainerBuilder $container, FileLoader $loader)
    {
        // Loading configuration from Core/settings
        $coreLoader = new Loader\YamlFileLoader(
            $container,
            new FileLocator(__DIR__ . '/../../../Publish/Core/settings')
        );
        $coreLoader->load('repository.yml');
        $coreLoader->load('repository/inner.yml');
        $coreLoader->load('repository/signalslot.yml');
        $coreLoader->load('repository/siteaccessaware.yml');
        $coreLoader->load('fieldtype_external_storages.yml');
        $coreLoader->load('fieldtypes.yml');
        $coreLoader->load('indexable_fieldtypes.yml');
        $coreLoader->load('roles.yml');
        $coreLoader->load('storage_engines/common.yml');
        $coreLoader->load('storage_engines/cache.yml');
        $coreLoader->load('storage_engines/legacy.yml');
        $coreLoader->load('storage_engines/shortcuts.yml');
        $coreLoader->load('search_engines/common.yml');
        $coreLoader->load('utils.yml');
        $coreLoader->load('io.yml');
        $coreLoader->load('policies.yml');
        $coreLoader->load('notification.yml');
        $coreLoader->load('user_preference.yml');

        // Load Core RichText settings
        if (!$this->isRichTextBundleEnabled($container)) {
            $coreLoader->load('richtext.yml');
        }

        // Public API services
        $loader->load('papi.yml');

        // Built-in field types
        $loader->load('fieldtype_services.yml');

        // Storage engine
        $loader->load('storage_engines.yml');

        // Load CoreBundle RichText settings
        if (!$this->isRichTextBundleEnabled($container)) {
            $loader->load('richtext.yml');
        }
    }
private function handleApiLoading ( ContainerBuilder $ container , FileLoader $ loader ) { // Loading configuration from Core/settings $ coreLoader = new Loader \ YamlFileLoader ( $ container , new FileLocator ( __DIR__ . '/../../../Publish/Core/settings' ) ) ; $ coreLoader -> load ( 'repository.yml' ) ; $ coreLoader -> load ( 'repository/inner.yml' ) ; $ coreLoader -> load ( 'repository/signalslot.yml' ) ; $ coreLoader -> load ( 'repository/siteaccessaware.yml' ) ; $ coreLoader -> load ( 'fieldtype_external_storages.yml' ) ; $ coreLoader -> load ( 'fieldtypes.yml' ) ; $ coreLoader -> load ( 'indexable_fieldtypes.yml' ) ; $ coreLoader -> load ( 'roles.yml' ) ; $ coreLoader -> load ( 'storage_engines/common.yml' ) ; $ coreLoader -> load ( 'storage_engines/cache.yml' ) ; $ coreLoader -> load ( 'storage_engines/legacy.yml' ) ; $ coreLoader -> load ( 'storage_engines/shortcuts.yml' ) ; $ coreLoader -> load ( 'search_engines/common.yml' ) ; $ coreLoader -> load ( 'utils.yml' ) ; $ coreLoader -> load ( 'io.yml' ) ; $ coreLoader -> load ( 'policies.yml' ) ; $ coreLoader -> load ( 'notification.yml' ) ; $ coreLoader -> load ( 'user_preference.yml' ) ; // Load Core RichText settings if ( ! $ this -> isRichTextBundleEnabled ( $ container ) ) { $ coreLoader -> load ( 'richtext.yml' ) ; } // Public API services $ loader -> load ( 'papi.yml' ) ; // Built-in field types $ loader -> load ( 'fieldtype_services.yml' ) ; // Storage engine $ loader -> load ( 'storage_engines.yml' ) ; // Load CoreBundle RichText settings if ( ! $ this -> isRichTextBundleEnabled ( $ container ) ) { $ loader -> load ( 'richtext.yml' ) ; } }
Handle public API loading.

@param \Symfony\Component\DependencyInjection\ContainerBuilder $container
@param \Symfony\Component\DependencyInjection\Loader\FileLoader $loader
Handle public API loading .