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

Breadcrumb

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

class Symfony

Hierarchy

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

Expanded class hierarchy of Symfony

1 file declares its use of Symfony
Discovery.php in vendor/open-telemetry/sdk/Common/Http/Psr/Client/Discovery.php
9 string references to 'Symfony'
bootstrap.php in vendor/symfony/polyfill-iconv/bootstrap.php
bootstrap80.php in vendor/symfony/polyfill-iconv/bootstrap80.php
CompleteCommand::configure in vendor/symfony/console/Command/CompleteCommand.php
Configures the current command.
CompleteCommand::execute in vendor/symfony/console/Command/CompleteCommand.php
Executes the current command.
HttpFoundationFactory::getTemporaryPath in vendor/symfony/psr-http-message-bridge/Factory/HttpFoundationFactory.php
Gets a temporary file path.

... See full list

File

vendor/open-telemetry/sdk/Common/Http/Psr/Client/Discovery/Symfony.php, line 11

Namespace

OpenTelemetry\SDK\Common\Http\Psr\Client\Discovery
View source
class Symfony implements DiscoveryInterface {
    
    /**
     * @phan-suppress PhanUndeclaredClassReference
     */
    public function available() : bool {
        return class_exists(HttpClient::class) && class_exists(Psr18Client::class);
    }
    
    /**
     * @phan-suppress PhanTypeMismatchReturn,PhanUndeclaredClassMethod
     */
    public function create(mixed $options) : ClientInterface {
        return new Psr18Client(HttpClient::create($options));
    }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title
Symfony::available public function @phan-suppress PhanUndeclaredClassReference Overrides DiscoveryInterface::available
Symfony::create public function @phan-suppress PhanTypeMismatchReturn,PhanUndeclaredClassMethod Overrides DiscoveryInterface::create

API Navigation

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