| 1 | <?php |
||
| 14 | final class CustomerDeleted implements CreatableFromArray |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | private $id; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var bool |
||
| 23 | */ |
||
| 24 | private $deleted; |
||
| 25 | |||
| 26 | 1 | private function __construct() |
|
| 29 | |||
| 30 | 1 | public static function createFromArray(array $data): self |
|
| 38 | |||
| 39 | 1 | public function getId(): string |
|
| 43 | |||
| 44 | 1 | public function isDeleted(): bool |
|
| 48 | } |
||
| 49 |