| Total Complexity | 3 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | final class ShopUserWishlistResolver implements ShopUserWishlistResolverInterface |
||
| 13 | { |
||
| 14 | private WishlistRepositoryInterface $wishlistRepository; |
||
| 15 | |||
| 16 | private WishlistFactoryInterface $wishlistFactory; |
||
| 17 | |||
| 18 | public function __construct( |
||
| 19 | WishlistRepositoryInterface $wishlistRepository, |
||
| 20 | WishlistFactoryInterface $wishlistFactory |
||
| 21 | ) |
||
| 22 | { |
||
| 23 | $this->wishlistRepository = $wishlistRepository; |
||
| 24 | $this->wishlistFactory = $wishlistFactory; |
||
| 25 | } |
||
| 26 | |||
| 27 | public function resolve(ShopUserInterface $user): WishlistInterface |
||
| 36 | } |
||
| 37 | } |
||
| 39 |