ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
NullIntercept.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\LegalDocuments\Intercept
;
22
23
use
ILIAS\LegalDocuments\Value\Target
;
24
use
ILIAS\LegalDocuments\Intercept
;
25
use Exception;
26
27
final
class
NullIntercept
implements
Intercept
28
{
29
public
function
intercept
(): bool
30
{
31
return
false
;
32
}
33
34
public
function
id
(): string
35
{
36
throw
new
Exception(
'Don\'t call me!'
);
37
}
38
39
public
function
target
():
Target
40
{
41
$this->
id
();
42
}
43
}
ILIAS\LegalDocuments\Intercept\NullIntercept
Definition:
NullIntercept.php:28
ILIAS\LegalDocuments\Intercept\NullIntercept\target
target()
Definition:
NullIntercept.php:39
ILIAS\LegalDocuments\Intercept\NullIntercept\id
id()
Definition:
NullIntercept.php:34
ILIAS\LegalDocuments\Intercept\NullIntercept\intercept
intercept()
Definition:
NullIntercept.php:29
ILIAS\LegalDocuments\Value\Target
Definition:
Target.php:24
ILIAS\LegalDocuments\Intercept
Definition:
Intercept.php:26
ILIAS\LegalDocuments\Intercept
Definition:
ConditionalIntercept.php:21
components
ILIAS
LegalDocuments
classes
Intercept
NullIntercept.php
Generated on Sat Oct 18 2025 23:03:20 for ILIAS by
1.9.4 (using
Doxyfile
)