ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ ilDoc Overview
Incident.php
Go to the documentation of this file.
1
<?
php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Modules\Test
;
22
23
class
Incident
24
{
30
public
function
any
(callable $are_you_ok, array $array): bool
31
{
32
foreach
($array as $x) {
33
if
($are_you_ok($x)) {
34
return
true
;
35
}
36
}
37
38
return
false
;
39
}
40
}
php
An exception for terminatinating execution or to throw for unit testing.
ILIAS\Modules\Test\Incident
Definition:
Incident.php:24
ILIAS\Modules\Test\Incident\any
any(callable $are_you_ok, array $array)
@template A
Definition:
Incident.php:30
ILIAS\Modules\Test
Definition:
AccessFileUploadAnswer.php:21
Modules
Test
classes
Incident.php
Generated on Sat Oct 4 2025 21:00:53 for ILIAS by
1.9.4 (using
Doxyfile
)