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.
File
-
vendor/
open-telemetry/ sdk/ Common/ Http/ Psr/ Client/ Discovery/ Symfony.php, line 11
Namespace
OpenTelemetry\SDK\Common\Http\Psr\Client\DiscoveryView 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 |