| Total Complexity | 2 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | final class RemoveWishlistHandler implements MessageHandlerInterface |
||
| 13 | { |
||
| 14 | private WishlistRepositoryInterface $wishlistRepository; |
||
| 15 | |||
| 16 | private WishlistUpdaterInterface $wishlistUpdater; |
||
| 17 | |||
| 18 | public function __construct( |
||
| 19 | WishlistRepositoryInterface $wishlistRepository, |
||
| 20 | WishlistUpdaterInterface $wishlistUpdater |
||
| 21 | ) |
||
| 22 | { |
||
| 23 | $this->wishlistRepository = $wishlistRepository; |
||
| 24 | $this->wishlistUpdater = $wishlistUpdater; |
||
| 25 | } |
||
| 26 | |||
| 27 | public function __invoke(RemoveWishlist $removeWishlist) |
||
| 32 | } |
||
| 33 | } |
||
| 34 |