| Total Complexity | 2 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | final class ProductsService extends AbstractService |
||
| 18 | { |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param HttpClientInterface $httpClient |
||
| 22 | * @param SerializerInterface $serializerInterface |
||
| 23 | */ |
||
| 24 | public function __construct(HttpClientInterface $httpClient, SerializerInterface $serializerInterface) |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param Barcode $barcode |
||
| 31 | * |
||
| 32 | * @return ArrayCollection|Product[] |
||
| 33 | * |
||
| 34 | * @throws ApiException |
||
| 35 | */ |
||
| 36 | public function getByBarcode(Barcode $barcode) |
||
| 45 |