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