1 | <?php |
||
24 | final class CustomerDeleted implements CreatableFromArray |
||
25 | { |
||
26 | /** |
||
27 | * @var string |
||
28 | */ |
||
29 | private $id; |
||
30 | |||
31 | /** |
||
32 | * @var bool |
||
33 | */ |
||
34 | private $deleted; |
||
35 | |||
36 | 1 | private function __construct() |
|
39 | |||
40 | 1 | public static function createFromArray(array $data): self |
|
48 | |||
49 | 1 | public function getId(): string |
|
53 | |||
54 | 1 | public function isDeleted(): bool |
|
58 | } |
||
59 |