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

Breadcrumb

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

function Decisions::decide

File

vendor/composer/composer/src/Composer/DependencyResolver/Decisions.php, line 41

Class

Decisions
Stores decisions on installing, removing or keeping packages

Namespace

Composer\DependencyResolver

Code

public function decide(int $literal, int $level, Rule $why) : void {
    $this->addDecision($literal, $level);
    $this->decisionQueue[] = [
        self::DECISION_LITERAL => $literal,
        self::DECISION_REASON => $why,
    ];
}

API Navigation

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