src/ServiceProvider/DoctrineOrmServiceProvider.php
private function getOrmMappingDriverFactoryClassMap(Container $container): callable
    {
        return $container->protect(function (array $mapping, Configuration $config) {
            return new ClassMapDriver($mapping['map']);
        });
    }
private function getOrmMappingDriverFactoryClassMap(Container $container): callable
    {
        return $container->protect(function (array $mapping, Configuration $config) {
            return new ClassMapDriver($mapping['map']);
        });
    }
private function getOrmMappingDriverFactoryClassMap ( Container $ container ) : callable { return $ container -> protect ( function ( array $ mapping , Configuration $ config ) { return new ClassMapDriver ( $ mapping [ 'map' ] ) ; } ) ; }
@param Container $container

@return callable
@param Container $container