| Total Complexity | 3 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | final class ExportWishlistToCsv |
||
| 16 | { |
||
| 17 | private Collection $wishlistProducts; |
||
| 18 | |||
| 19 | private \SplFileObject $file; |
||
| 20 | |||
| 21 | public function __construct(Collection $wishlistProducts, \SplFileObject $file) |
||
| 22 | { |
||
| 23 | $this->wishlistProducts = $wishlistProducts; |
||
| 24 | $this->file = $file; |
||
| 25 | } |
||
| 26 | |||
| 27 | public function getWishlistProducts(): Collection |
||
| 28 | { |
||
| 29 | return $this->wishlistProducts; |
||
| 30 | } |
||
| 31 | |||
| 32 | public function getFile(): \SplFileObject |
||
| 35 | } |
||
| 36 | } |
||
| 37 |