parameters:
    ezpublish.debug.data_collector.class: eZ\Bundle\EzPublishDebugBundle\Collector\EzPublishDataCollector

services:
    ezpublish.debug.data_collector:
        class: %ezpublish.debug.data_collector.class%
        arguments: [ @ezpublish.spi.persistence.cache.persistenceLogger, @ezpublish_legacy.kernel ]
        tags:
            -
                name: data_collector
                template: "EzPublishDebugBundle:Profiler:layout"
                id: "ezpublish.debug.toolbar"
