private function createBundleCacheWarmer($warmerName)
    {
        $definition = new Definition(
            Utility::getBundleClass('CacheWarmer\MetadataWarmer'),
            [new Reference($warmerName)]
        );
        $definition->setPublic(false);
        $definition->addTag('kernel.cache_warmer');
        return $definition;
    }
private function createBundleCacheWarmer($warmerName)
    {
        $definition = new Definition(
            Utility::getBundleClass('CacheWarmer\MetadataWarmer'),
            [new Reference($warmerName)]
        );
        $definition->setPublic(false);
        $definition->addTag('kernel.cache_warmer');
        return $definition;
    }
private function createBundleCacheWarmer ( $ warmerName ) { $ definition = new Definition ( Utility :: getBundleClass ( 'CacheWarmer\MetadataWarmer' ) , [ new Reference ( $ warmerName ) ] ) ; $ definition -> setPublic ( false ) ; $ definition -> addTag ( 'kernel.cache_warmer' ) ; return $ definition ; }
Creates the bundle cache warmer definition.

@param   string  $warmerName
@return  Definition
Creates the bundle cache warmer definition .