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

Breadcrumb

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

function Decisions::lastReason

File

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

Class

Decisions
Stores decisions on installing, removing or keeping packages

Namespace

Composer\DependencyResolver

Code

public function lastReason() : Rule {
    return $this->decisionQueue[\count($this->decisionQueue) - 1][self::DECISION_REASON];
}

API Navigation

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