Plugin::INTERFACE_MAP
File
-
vendor/
php-http/ discovery/ src/ Composer/ Plugin.php, line 105
Class
- Plugin
- Auto-installs missing implementations.
Namespace
Http\Discovery\ComposerCode
private const INTERFACE_MAP = [
'php-http/async-client-implementation' => [
'Http\\Client\\HttpAsyncClient',
],
'php-http/client-implementation' => [
'Http\\Client\\HttpClient',
],
'psr/http-client-implementation' => [
'Psr\\Http\\Client\\ClientInterface',
],
'psr/http-factory-implementation' => [
'Psr\\Http\\Message\\RequestFactoryInterface',
'Psr\\Http\\Message\\ResponseFactoryInterface',
'Psr\\Http\\Message\\ServerRequestFactoryInterface',
'Psr\\Http\\Message\\StreamFactoryInterface',
'Psr\\Http\\Message\\UploadedFileFactoryInterface',
'Psr\\Http\\Message\\UriFactoryInterface',
],
];