| Total Complexity | 4 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | final class CreateNewWishlist |
||
| 18 | { |
||
| 19 | private TokenStorageInterface $tokenStorage; |
||
| 20 | |||
| 21 | private WishlistFactoryInterface $wishlistFactory; |
||
| 22 | |||
| 23 | private FormFactoryInterface $formFactory; |
||
| 24 | |||
| 25 | public function __construct(TokenStorageInterface $tokenStorage, WishlistFactoryInterface $wishlistFactory, FormFactoryInterface $formFactory) |
||
| 26 | { |
||
| 27 | $this->tokenStorage = $tokenStorage; |
||
| 28 | $this->wishlistFactory = $wishlistFactory; |
||
| 29 | $this->formFactory = $formFactory; |
||
| 30 | } |
||
| 31 | |||
| 32 | public function getTokenStorage(): TokenStorageInterface |
||
| 35 | } |
||
| 36 | |||
| 37 | public function getWishlistFactory(): WishlistFactoryInterface |
||
| 40 | } |
||
| 41 | |||
| 42 | public function getFormFactory(): FormFactoryInterface |
||
| 45 | } |
||
| 46 | } |