| Total Complexity | 6 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class AddWishlistProduct |
||
| 11 | { |
||
| 12 | private WishlistProductInterface $wishlistProduct; |
||
| 13 | |||
| 14 | private AddToCartCommandInterface $cartItem; |
||
| 15 | |||
| 16 | private bool $selected; |
||
| 17 | |||
| 18 | public function getWishlistProduct(): WishlistProductInterface |
||
| 19 | { |
||
| 20 | return $this->wishlistProduct; |
||
| 21 | } |
||
| 22 | |||
| 23 | public function setWishlistProduct(WishlistProductInterface $wishlistProduct): void |
||
| 24 | { |
||
| 25 | $this->wishlistProduct = $wishlistProduct; |
||
| 26 | } |
||
| 27 | |||
| 28 | public function isSelected(): bool |
||
| 31 | } |
||
| 32 | |||
| 33 | public function setSelected(bool $selected): void |
||
| 34 | { |
||
| 35 | $this->selected = $selected; |
||
| 36 | } |
||
| 37 | |||
| 38 | public function getCartItem(): AddToCartCommandInterface |
||
| 41 | } |
||
| 42 | |||
| 43 | public function setCartItem(AddToCartCommandInterface $cartItem): void |
||
| 46 | } |
||
| 47 | } |
||
| 48 |