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