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

Breadcrumb

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

function SolverProblemsException::__construct

Parameters

Problem[] $problems:

array<Rule[]> $learnedPool:

File

vendor/composer/composer/src/Composer/DependencyResolver/SolverProblemsException.php, line 36

Class

SolverProblemsException
@author Nils Adermann <naderman@naderman.de>

Namespace

Composer\DependencyResolver

Code

public function __construct(array $problems, array $learnedPool) {
    $this->problems = $problems;
    $this->learnedPool = $learnedPool;
    parent::__construct('Failed resolving dependencies with ' . \count($problems) . ' problems, call getPrettyString to get formatted details', self::ERROR_DEPENDENCY_RESOLUTION_FAILED);
}

API Navigation

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