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

Breadcrumb

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

Plugin::STICKYNESS_RULES

Describes which package should be preferred on the left side depending on which one is already installed on the right side.

File

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

Class

Plugin
Auto-installs missing implementations.

Namespace

Http\Discovery\Composer

Code

private const STICKYNESS_RULES = [
    'symfony/http-client' => 'symfony/framework-bundle',
    'php-http/guzzle7-adapter' => 'guzzlehttp/guzzle:^7',
    'php-http/guzzle6-adapter' => 'guzzlehttp/guzzle:^6',
    'php-http/guzzle5-adapter' => 'guzzlehttp/guzzle:^5',
    'php-http/cakephp-adapter' => 'cakephp/cakephp',
    'php-http/react-adapter' => 'react/event-loop',
    'php-http/buzz-adapter' => 'kriswallsmith/buzz:^0.15.1',
    'php-http/artax-adapter' => 'amphp/artax:^3',
    'http-interop/http-factory-guzzle' => 'guzzlehttp/psr7:^1',
    'http-interop/http-factory-slim' => 'slim/slim:^3',
];

API Navigation

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