ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
Condition.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
24 
25 class Condition implements ConditionInterface
26 {
27  protected string $value;
28  protected PathInterface $path;
29 
30  public function __construct(string $value, PathInterface $path)
31  {
32  $this->value = $value;
33  $this->path = $path;
34  }
35 
36  public function value(): string
37  {
38  return $this->value;
39  }
40 
41  public function path(): PathInterface
42  {
43  return $this->path;
44  }
45 }
__construct(string $value, PathInterface $path)
Definition: Condition.php:30