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

@return callable
@param Container $container