private function createDataCollector()
    {
        $definition = new Definition(
            Utility::getBundleClass('DataCollector\MongoDb\PrettyDataCollector')
        );
        $definition->addTag('data_collector', ['id' => 'as3persistermongodb', 'template' => 'As3ModlrBundle:Collector:mongodb']);
        $definition->setPublic(false);
        return $definition;
    }
private function createDataCollector()
    {
        $definition = new Definition(
            Utility::getBundleClass('DataCollector\MongoDb\PrettyDataCollector')
        );
        $definition->addTag('data_collector', ['id' => 'as3persistermongodb', 'template' => 'As3ModlrBundle:Collector:mongodb']);
        $definition->setPublic(false);
        return $definition;
    }
private function createDataCollector ( ) { $ definition = new Definition ( Utility :: getBundleClass ( 'DataCollector\MongoDb\PrettyDataCollector' ) ) ; $ definition -> addTag ( 'data_collector' , [ 'id' => 'as3persistermongodb' , 'template' => 'As3ModlrBundle:Collector:mongodb' ] ) ; $ definition -> setPublic ( false ) ; return $ definition ; }
Creates the persistence data collector service definition.

@return  Definition
Creates the persistence data collector service definition .