| Total Complexity | 4 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | final class ImportWishlistFromCsv |
||
| 16 | { |
||
| 17 | private \SplFileInfo $file; |
||
| 18 | |||
| 19 | private Request $request; |
||
| 20 | |||
| 21 | private int $wishlistId; |
||
| 22 | |||
| 23 | public function __construct( |
||
| 24 | \SplFileInfo $file, |
||
| 25 | Request $request, |
||
| 26 | int $wishlistId |
||
| 27 | ) { |
||
| 28 | $this->file = $file; |
||
| 29 | $this->request = $request; |
||
| 30 | $this->wishlistId = $wishlistId; |
||
| 31 | } |
||
| 32 | |||
| 33 | public function getFileInfo(): \SplFileInfo |
||
| 34 | { |
||
| 35 | return $this->file; |
||
| 36 | } |
||
| 37 | |||
| 38 | public function getRequest(): Request |
||
| 41 | } |
||
| 42 | |||
| 43 | public function getWishlistId(): int |
||
| 48 |