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

Breadcrumb

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

function InvalidPackageException::__construct

Parameters

list<string> $errors:

list<string> $warnings:

mixed[] $data:

File

vendor/composer/composer/src/Composer/Package/Loader/InvalidPackageException.php, line 32

Class

InvalidPackageException
@author Jordi Boggiano <j.boggiano@seld.be>

Namespace

Composer\Package\Loader

Code

public function __construct(array $errors, array $warnings, array $data) {
    $this->errors = $errors;
    $this->warnings = $warnings;
    $this->data = $data;
    parent::__construct("Invalid package information: \n" . implode("\n", array_merge($errors, $warnings)));
}
RSS feed
Powered by Drupal