| 1 | <?php |
||
| 12 | class StatusUpdated |
||
| 13 | { |
||
| 14 | protected $oldStatus; |
||
| 15 | protected $newStatus; |
||
| 16 | protected $model; |
||
| 17 | |||
| 18 | public function __construct(string $oldStatus, string $newStatus, Model $model) |
||
| 24 | |||
| 25 | public function getOldStatus(): string |
||
| 29 | |||
| 30 | public function getNewStatus(): string |
||
| 34 | |||
| 35 | public function getModel(): Model |
||
| 39 | } |
||
| 40 |