ILIAS
trunk Revision v11.0_alpha-2645-g16283d3b3f8
◀ ilDoc Overview
CriterionContent.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\LegalDocuments\Value
;
22
23
class
CriterionContent
24
{
25
public
function
__construct
(
private
readonly
string
$type,
private
readonly array $arguments)
26
{
27
}
28
29
public
function
type
(): string
30
{
31
return
$this->type;
32
}
33
34
public
function
arguments
(): array
35
{
36
return
$this->arguments;
37
}
38
39
public
function
equals
(
CriterionContent
$other): bool
40
{
41
return
$this->
type
() === $other->
type
()
42
&& $this->
arguments
() === $other->
arguments
();
43
}
44
}
ILIAS\LegalDocuments\Value\CriterionContent\equals
equals(CriterionContent $other)
Definition:
CriterionContent.php:39
ILIAS\LegalDocuments\Value
Definition:
Criterion.php:21
ILIAS\LegalDocuments\Value\CriterionContent\type
type()
Definition:
CriterionContent.php:29
ILIAS\LegalDocuments\Value\CriterionContent\__construct
__construct(private readonly string $type, private readonly array $arguments)
Definition:
CriterionContent.php:25
ILIAS\LegalDocuments\Value\CriterionContent
Definition:
CriterionContent.php:23
ILIAS\LegalDocuments\Value\CriterionContent\arguments
arguments()
Definition:
CriterionContent.php:34
components
ILIAS
LegalDocuments
classes
Value
CriterionContent.php
Generated on Mon Sep 1 2025 23:03:24 for ILIAS by
1.8.13 (using
Doxyfile
)