| Total Complexity | 3 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | final class ProductsAssigner implements ProductsAssignerInterface |
||
| 19 | { |
||
| 20 | /** @var ProductRepositoryInterface */ |
||
| 21 | private $productRepository; |
||
| 22 | |||
| 23 | public function __construct(ProductRepositoryInterface $productRepository) |
||
| 24 | { |
||
| 25 | $this->productRepository = $productRepository; |
||
| 26 | } |
||
| 27 | |||
| 28 | public function assign(ProductsAwareInterface $productsAware, array $productsCodes): void |
||
| 36 | } |
||
| 37 | } |
||
| 39 |