ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
◀ ilDoc Overview
ErrorHandling.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Data\Description
;
22
23
trait
ErrorHandling
24
{
25
protected
function
mergeErrors(array &$errors): \
Closure
26
{
27
return
function
() use (&$errors) {
28
foreach
($errors as $errs) {
29
foreach
($errs() as
$e
) {
30
yield
$e
;
31
}
32
}
33
};
34
}
35
}
ILIAS\Data\Description
Definition:
Description.php:21
ErrorHandling
Closure
Vendor\Package\$e
$e
Definition:
example_cleaned.php:49
components
ILIAS
Data
src
Description
ErrorHandling.php
Generated on Wed Sep 3 2025 23:02:48 for ILIAS by
1.8.13 (using
Doxyfile
)