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

Breadcrumb

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

Plugin::INTERFACE_MAP

File

vendor/php-http/discovery/src/Composer/Plugin.php, line 105

Class

Plugin
Auto-installs missing implementations.

Namespace

Http\Discovery\Composer

Code

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',
    ],
];

API Navigation

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