| Total Complexity | 2 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | class UserEntityChangedEvent extends UserEntityEvent |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * @var UserEntity |
||
| 25 | */ |
||
| 26 | private $oldUser; |
||
| 27 | |||
| 28 | public function __construct( |
||
| 29 | UserEntity $user, |
||
| 30 | UserEntity $oldUser |
||
| 31 | ) { |
||
| 32 | parent::__construct($user); |
||
| 33 | $this->oldUser = $oldUser; |
||
| 34 | } |
||
| 35 | |||
| 36 | public function getOldUser(): UserEntity |
||
| 39 | } |
||
| 40 | } |
||
| 41 |