ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ 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
Definition:
ConditionalIntercept.php:21
ILIAS\LegalDocuments\Intercept\NullIntercept\intercept
intercept()
Definition:
NullIntercept.php:29
ILIAS\LegalDocuments\Value\Target
Definition:
Target.php:23
ILIAS\LegalDocuments\Intercept\NullIntercept
Definition:
NullIntercept.php:27
ILIAS\LegalDocuments\Intercept\NullIntercept\id
id()
Definition:
NullIntercept.php:34
Target
ILIAS\LegalDocuments\Intercept
Definition:
Intercept.php:25
ILIAS\LegalDocuments\Intercept\NullIntercept\target
target()
Definition:
NullIntercept.php:39
Exception
components
ILIAS
LegalDocuments
classes
Intercept
NullIntercept.php
Generated on Sun Aug 31 2025 23:03:14 for ILIAS by
1.8.13 (using
Doxyfile
)