Skip to main content
Drupal API
Menu
User account menu
Log in
Breadcrumb
Drupal Core 11.1.x
Collecting.php
function Collecting::clearErrors
Reset/clear collected errors.
File
vendor/
nikic/
php-parser/
lib/
PhpParser/
ErrorHandler/
Collecting.php
, line 40
Class
Collecting
Error handler that collects all errors into an array.
Namespace
PhpParser\ErrorHandler
Code
public
function
clearErrors
() : void {
$this
->
errors
= []; }
RSS feed