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

Breadcrumb

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

function Problem::getReasons

Retrieve all reasons for this problem

Return value

array<int, array<int, Rule>> The problem's reasons

File

vendor/composer/composer/src/Composer/DependencyResolver/Problem.php, line 67

Class

Problem
Represents a problem detected while solving dependencies

Namespace

Composer\DependencyResolver

Code

public function getReasons() : array {
    return $this->reasons;
}

API Navigation

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