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

Breadcrumb

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

function ManifestDocumentLoadingException::__construct

ManifestDocumentLoadingException constructor.

Parameters

LibXMLError[] $libxmlErrors:

File

vendor/phar-io/manifest/src/exceptions/ManifestDocumentLoadingException.php, line 25

Class

ManifestDocumentLoadingException

Namespace

PharIo\Manifest

Code

public function __construct(array $libxmlErrors) {
    $this->libxmlErrors = $libxmlErrors;
    $first = $this->libxmlErrors[0];
    parent::__construct(sprintf('%s (Line: %d / Column: %d / File: %s)', $first->message, $first->line, $first->column, $first->file), $first->code);
}

API Navigation

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