ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
Condition.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\LegalDocuments;
22
24use ilObjUser;
25
26interface Condition
27{
28 public function asComponent(): Component;
29 public function eval(ilObjUser $user): bool;
30 public function knownToNeverMatchWith(Condition $other): bool;
31 public function definition(): ConditionDefinition;
32}
User class.
knownToNeverMatchWith(Condition $other)
A component is the most general form of an entity in the UI.
Definition: Component.php:28