public static function getLocationFromHeaders(array $headers)
    {
        $value = Utilities::tryGetValue(
            $headers,
            Resources::X_MS_CONTINUATION_LOCATION_MODE
        );

        $result = '';
        if (\is_string($value)) {
            $result = $value;
        } elseif (!empty($value)) {
            $result = $value[0];
        }
        return $result;
    }
public static function getLocationFromHeaders(array $headers)
    {
        $value = Utilities::tryGetValue(
            $headers,
            Resources::X_MS_CONTINUATION_LOCATION_MODE
        );

        $result = '';
        if (\is_string($value)) {
            $result = $value;
        } elseif (!empty($value)) {
            $result = $value[0];
        }
        return $result;
    }
public static function getLocationFromHeaders ( array $ headers ) { $ value = Utilities :: tryGetValue ( $ headers , Resources :: X_MS_CONTINUATION_LOCATION_MODE ) ; $ result = '' ; if ( \ is_string ( $ value ) ) { $ result = $ value ; } elseif ( ! empty ( $ value ) ) { $ result = $ value [ 0 ] ; } return $ result ; }
Gets the location value from the headers.

@param  array  $headers request/response headers.

@return string
Gets the location value from the headers .