Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Guzzle.php

class Guzzle

Hierarchy

  • class \OpenTelemetry\SDK\Common\Http\Psr\Client\Discovery\Guzzle implements \OpenTelemetry\SDK\Common\Http\Psr\Client\Discovery\DiscoveryInterface

Expanded class hierarchy of Guzzle

1 file declares its use of Guzzle
Discovery.php in vendor/open-telemetry/sdk/Common/Http/Psr/Client/Discovery.php
1 string reference to 'Guzzle'
StreamWrapper::register in vendor/guzzlehttp/psr7/src/StreamWrapper.php
Registers the stream wrapper if needed

File

vendor/open-telemetry/sdk/Common/Http/Psr/Client/Discovery/Guzzle.php, line 10

Namespace

OpenTelemetry\SDK\Common\Http\Psr\Client\Discovery
View source
class Guzzle implements DiscoveryInterface {
    public function available() : bool {
        return class_exists(Client::class) && is_a(Client::class, ClientInterface::class, true);
    }
    public function create(mixed $options) : ClientInterface {
        return new Client($options);
    }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title
Guzzle::available public function Overrides DiscoveryInterface::available
Guzzle::create public function Overrides DiscoveryInterface::create

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal