Google Cloud PHP shared dependency, providing functionality useful to all components. Client - Class MetadataProviderUtils (1.48.1)

Reference documentation and code samples for the Google Cloud PHP shared dependency, providing functionality useful to all components. Client class MetadataProviderUtils.

Utility class for MetadataProvider.

Methods

autoSelect

Automatically choose the most appropriate MetadataProvider and return it.

Parameter
NameDescription
server array

Normally pass the $_SERVER.

Returns
TypeDescription
Google\Cloud\Core\Report\MetadataProviderInterface