Core/src/Report/MetadataProviderUtils.php
public static function autoSelect($server)
    {
        if (isset($server['GAE_SERVICE'])) {
            if (isset($server['GAE_ENV']) && $server['GAE_ENV'] === 'standard') {
                return new GAEStandardMetadataProvider($server);
            }
            return new GAEFlexMetadataProvider($server);
        }
        return new EmptyMetadataProvider();
    }
public static function autoSelect($server)
    {
        if (isset($server['GAE_SERVICE'])) {
            if (isset($server['GAE_ENV']) && $server['GAE_ENV'] === 'standard') {
                return new GAEStandardMetadataProvider($server);
            }
            return new GAEFlexMetadataProvider($server);
        }
        return new EmptyMetadataProvider();
    }
public static function autoSelect ( $ server ) { if ( isset ( $ server [ 'GAE_SERVICE' ] ) ) { if ( isset ( $ server [ 'GAE_ENV' ] ) && $ server [ 'GAE_ENV' ] === 'standard' ) { return new GAEStandardMetadataProvider ( $ server ) ; } return new GAEFlexMetadataProvider ( $ server ) ; } return new EmptyMetadataProvider ( ) ; }
Automatically choose the most appropriate MetadataProvider and return it.

@param array $server Normally pass the $_SERVER.
@return MetadataProviderInterface
Automatically choose the most appropriate MetadataProvider and return it .