ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\LegalDocuments\Intercept\ConditionalIntercept Class Reference
+ Inheritance diagram for ILIAS\LegalDocuments\Intercept\ConditionalIntercept:
+ Collaboration diagram for ILIAS\LegalDocuments\Intercept\ConditionalIntercept:

Public Member Functions

 __construct (private readonly Closure $intercept, private readonly string $id, private readonly Target $target)
 
 intercept ()
 
 id ()
 
 target ()
 
 intercept ()
 
 id ()
 
 target ()
 

Detailed Description

Definition at line 27 of file ConditionalIntercept.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\LegalDocuments\Intercept\ConditionalIntercept::__construct ( private readonly Closure  $intercept,
private readonly string  $id,
private readonly Target  $target 
)
Parameters
Closure()bool $intercept

Definition at line 32 of file ConditionalIntercept.php.

36 {
37 }

Member Function Documentation

◆ id()

ILIAS\LegalDocuments\Intercept\ConditionalIntercept::id ( )

Implements ILIAS\LegalDocuments\Intercept.

Definition at line 44 of file ConditionalIntercept.php.

44 : string
45 {
46 return $this->id;
47 }
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23

References $id.

◆ intercept()

ILIAS\LegalDocuments\Intercept\ConditionalIntercept::intercept ( )

Implements ILIAS\LegalDocuments\Intercept.

Definition at line 39 of file ConditionalIntercept.php.

39 : bool
40 {
41 return ($this->intercept)();
42 }

References ILIAS\LegalDocuments\Intercept\ConditionalIntercept\intercept().

Referenced by ILIAS\LegalDocuments\Intercept\ConditionalIntercept\intercept().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ target()

ILIAS\LegalDocuments\Intercept\ConditionalIntercept::target ( )

Implements ILIAS\LegalDocuments\Intercept.

Definition at line 49 of file ConditionalIntercept.php.

49 : Target
50 {
51 return $this->target;
52 }

The documentation for this class was generated from the following file: