| Total Complexity | 6 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | final class AddWishlistProduct implements AddWishlistProductInterface |
||
| 17 | { |
||
| 18 | private WishlistProductInterface $wishlistProduct; |
||
| 19 | |||
| 20 | private AddToCartCommandInterface $cartItem; |
||
| 21 | |||
| 22 | private bool $selected; |
||
| 23 | |||
| 24 | public function getWishlistProduct(): WishlistProductInterface |
||
| 25 | { |
||
| 26 | return $this->wishlistProduct; |
||
| 27 | } |
||
| 28 | |||
| 29 | public function setWishlistProduct(WishlistProductInterface $wishlistProduct): void |
||
| 30 | { |
||
| 31 | $this->wishlistProduct = $wishlistProduct; |
||
| 32 | } |
||
| 33 | |||
| 34 | public function isSelected(): bool |
||
| 37 | } |
||
| 38 | |||
| 39 | public function setSelected(bool $selected): void |
||
| 40 | { |
||
| 41 | $this->selected = $selected; |
||
| 42 | } |
||
| 43 | |||
| 44 | public function getCartItem(): AddToCartCommandInterface |
||
| 47 | } |
||
| 48 | |||
| 49 | public function setCartItem(AddToCartCommandInterface $cartItem): void |
||
| 52 | } |
||
| 53 | } |
||
| 54 |