ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\LegalDocuments\Value\CriterionContent Class Reference
+ Collaboration diagram for ILIAS\LegalDocuments\Value\CriterionContent:

Public Member Functions

 __construct (private readonly string $type, private readonly array $arguments)
 
 type ()
 
 arguments ()
 
 equals (CriterionContent $other)
 

Detailed Description

Definition at line 23 of file CriterionContent.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\LegalDocuments\Value\CriterionContent::__construct ( private readonly string  $type,
private readonly array  $arguments 
)

Definition at line 25 of file CriterionContent.php.

26 {
27 }

Member Function Documentation

◆ arguments()

ILIAS\LegalDocuments\Value\CriterionContent::arguments ( )

Definition at line 34 of file CriterionContent.php.

34 : array
35 {
36 return $this->arguments;
37 }

Referenced by ILIAS\LegalDocuments\Repository\DatabaseDocumentRepository\criterionFields(), and ILIAS\LegalDocuments\Value\CriterionContent\equals().

+ Here is the caller graph for this function:

◆ equals()

ILIAS\LegalDocuments\Value\CriterionContent::equals ( CriterionContent  $other)

Definition at line 39 of file CriterionContent.php.

39 : bool
40 {
41 return $this->type() === $other->type()
42 && $this->arguments() === $other->arguments();
43 }

References ILIAS\LegalDocuments\Value\CriterionContent\arguments(), and ILIAS\LegalDocuments\Value\CriterionContent\type().

+ Here is the call graph for this function:

◆ type()

ILIAS\LegalDocuments\Value\CriterionContent::type ( )

Definition at line 29 of file CriterionContent.php.

29 : string
30 {
31 return $this->type;
32 }

Referenced by ILIAS\LegalDocuments\Repository\DatabaseDocumentRepository\criterionFields(), ILIAS\LegalDocuments\Value\CriterionContent\equals(), and ILIAS\LegalDocuments\Provide\ProvideDocument\toCondition().

+ Here is the caller graph for this function:

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