| 1 | <?php |
||
| 7 | class StepRegistrationDependency |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var string |
||
| 11 | */ |
||
| 12 | private $dependantId; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | private $dependsOnId; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var bool |
||
| 21 | */ |
||
| 22 | private $isEnforced; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param string $dependantId |
||
| 26 | * @param string $dependsOnId |
||
| 27 | * @param bool $isEnforced |
||
| 28 | */ |
||
| 29 | 15 | public function __construct($dependantId, $dependsOnId, $isEnforced) |
|
| 38 | |||
| 39 | /** |
||
| 40 | * @return string |
||
| 41 | */ |
||
| 42 | 3 | public function getDependantId() |
|
| 46 | |||
| 47 | /** |
||
| 48 | * @return string |
||
| 49 | */ |
||
| 50 | 8 | public function getDependsOnId() |
|
| 54 | |||
| 55 | /** |
||
| 56 | * @return boolean |
||
| 57 | */ |
||
| 58 | 5 | public function isEnforced() |
|
| 62 | } |
||
| 63 |