ILIAS  trunk Revision v11.0_alpha-2645-g16283d3b3f8
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.

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

34  : array
35  {
36  return $this->arguments;
37  }
+ Here is the caller graph for this function:

◆ equals()

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

Definition at line 39 of file CriterionContent.php.

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

39  : bool
40  {
41  return $this->type() === $other->type()
42  && $this->arguments() === $other->arguments();
43  }
+ Here is the call graph for this function:

◆ type()

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

Definition at line 29 of file CriterionContent.php.

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

29  : string
30  {
31  return $this->type;
32  }
+ Here is the caller graph for this function:

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