public function process(ContainerBuilder $container)
    {
        if (!$container->has('ezpublish.view_builder.registry')) {
            return;
        }

        $viewBuilderRegistry = $container->findDefinition('ezpublish.view_builder.registry');
        $viewBuilders = [
            $container->findDefinition('support_tools.view.system_info_view_builder'),
        ];

        $viewBuilderRegistry->addMethodCall('addToRegistry', [$viewBuilders]);
    }
public function process(ContainerBuilder $container)
    {
        if (!$container->has('ezpublish.view_builder.registry')) {
            return;
        }

        $viewBuilderRegistry = $container->findDefinition('ezpublish.view_builder.registry');
        $viewBuilders = [
            $container->findDefinition('support_tools.view.system_info_view_builder'),
        ];

        $viewBuilderRegistry->addMethodCall('addToRegistry', [$viewBuilders]);
    }
public function process ( ContainerBuilder $ container ) { if ( ! $ container -> has ( 'ezpublish.view_builder.registry' ) ) { return ; } $ viewBuilderRegistry = $ container -> findDefinition ( 'ezpublish.view_builder.registry' ) ; $ viewBuilders = [ $ container -> findDefinition ( 'support_tools.view.system_info_view_builder' ) , ] ; $ viewBuilderRegistry -> addMethodCall ( 'addToRegistry' , [ $ viewBuilders ] ) ; }
Registers the SystemInfoViewBuilder into the view builder registry.

@param \Symfony\Component\DependencyInjection\ContainerBuilder $container
Registers the SystemInfoViewBuilder into the view builder registry .