src/Extension/DoctrineKeyValueExtension.php
private function configureStorage(array $config, ContainerBuilder $container)
    {
        $container->register('doctrine.key_value.storage', 'Doctrine\KeyValueStore\Storage\DoctrineCacheStorage')
            ->setPublic(false)
            ->addArgument(new Reference('cache.' . $config['cache_driver']));
    }
private function configureStorage(array $config, ContainerBuilder $container)
    {
        $container->register('doctrine.key_value.storage', 'Doctrine\KeyValueStore\Storage\DoctrineCacheStorage')
            ->setPublic(false)
            ->addArgument(new Reference('cache.' . $config['cache_driver']));
    }
private function configureStorage ( array $ config , ContainerBuilder $ container ) { $ container -> register ( 'doctrine.key_value.storage' , 'Doctrine\KeyValueStore\Storage\DoctrineCacheStorage' ) -> setPublic ( false ) -> addArgument ( new Reference ( 'cache.' . $ config [ 'cache_driver' ] ) ) ; }
Configure the data store.

@param array $config
@param ContainerBuilder $container
Configure the data store .