| Total Complexity | 4 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 8 | class ShoppingBasketWasPickedUpByReturningCustomer implements EventPayload |
||
| 9 | { |
||
| 10 | use EqualsUsesWindUp; |
||
| 11 | private $returningCustomerId; |
||
| 12 | |||
| 13 | public function __construct(string $returningCustomerId) |
||
| 14 | { |
||
| 15 | $this->returningCustomerId = $returningCustomerId; |
||
| 16 | } |
||
| 17 | |||
| 18 | public static function unwind(array $spool): Windable |
||
| 21 | } |
||
| 22 | |||
| 23 | public function getReturningCustomerId(): string |
||
| 26 | } |
||
| 27 | |||
| 28 | public function windUp(): array |
||
| 33 |