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