ILIAS  trunk Revision v11.0_alpha-2645-g16283d3b3f8
ILIAS\LegalDocuments\GotoLink\ConditionalGotoLink Class Reference
+ Inheritance diagram for ILIAS\LegalDocuments\GotoLink\ConditionalGotoLink:
+ Collaboration diagram for ILIAS\LegalDocuments\GotoLink\ConditionalGotoLink:

Public Member Functions

 __construct (private readonly string $name, private readonly Closure $select_target)
 
 name ()
 
 target ()
 

Detailed Description

Definition at line 27 of file ConditionalGotoLink.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\LegalDocuments\GotoLink\ConditionalGotoLink::__construct ( private readonly string  $name,
private readonly Closure  $select_target 
)
Parameters
Closure()Target $select_target

Definition at line 32 of file ConditionalGotoLink.php.

33  {
34  }

Member Function Documentation

◆ name()

ILIAS\LegalDocuments\GotoLink\ConditionalGotoLink::name ( )

Implements ILIAS\LegalDocuments\GotoLink.

Definition at line 36 of file ConditionalGotoLink.php.

36  : string
37  {
38  return $this->name;
39  }

◆ target()

ILIAS\LegalDocuments\GotoLink\ConditionalGotoLink::target ( )

Implements ILIAS\LegalDocuments\GotoLink.

Definition at line 41 of file ConditionalGotoLink.php.

41  : Target
42  {
43  return ($this->select_target)();
44  }

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