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

Breadcrumb

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

function Collecting::handleError

Overrides ErrorHandler::handleError

File

vendor/nikic/php-parser/lib/PhpParser/ErrorHandler/Collecting.php, line 17

Class

Collecting
Error handler that collects all errors into an array.

Namespace

PhpParser\ErrorHandler

Code

public function handleError(Error $error) : void {
    $this->errors[] = $error;
}

API Navigation

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