Total Complexity | 3 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | final class AddProductVariantToWishlist implements WishlistTokenValueAwareInterface |
||
16 | { |
||
17 | public int $productVariantId; |
||
18 | |||
19 | private WishlistInterface $wishlist; |
||
20 | |||
21 | public function __construct(int $productVariantId) |
||
22 | { |
||
23 | $this->productVariantId = $productVariantId; |
||
24 | } |
||
25 | |||
26 | public function getWishlist(): WishlistInterface |
||
27 | { |
||
28 | return $this->wishlist; |
||
29 | } |
||
30 | |||
31 | public function setWishlist(WishlistInterface $wishlist): void |
||
34 | } |
||
35 | } |
||
36 |