ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ChangedUserFieldAttribute.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24
30{
31 public function __construct(
32 private readonly PropertyAttributes $attribute_name,
33 private readonly bool $old_value,
34 private readonly bool $new_value
35 ) {
36 }
37
39 {
40 return $this->attribute_name;
41 }
42
43 public function getOldValue(): bool
44 {
45 return $this->old_value;
46 }
47
48 public function getNewValue(): bool
49 {
50 return $this->new_value;
51 }
52}
__construct(private readonly PropertyAttributes $attribute_name, private readonly bool $old_value, private readonly bool $new_value)