ILIAS  trunk Revision v11.0_alpha-1831-g8615d53dadb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
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 ()
 

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.

References $id.

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

◆ 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  }

◆ 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: