| Total Complexity | 2 | 
| Total Lines | 23 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 18 | final class NamedProductsFinder implements NamedProductsFinderInterface | ||
| 19 | { | ||
| 20 | /** @var QueryBuilderInterface */ | ||
| 21 | private $productsByPartialNameQueryBuilder; | ||
| 22 | |||
| 23 | /** @var FinderInterface */ | ||
| 24 | private $productsFinder; | ||
| 25 | |||
| 26 | public function __construct( | ||
| 27 | QueryBuilderInterface $productsByPartialNameQueryBuilder, | ||
| 28 | FinderInterface $productsFinder | ||
| 29 |     ) { | ||
| 30 | $this->productsByPartialNameQueryBuilder = $productsByPartialNameQueryBuilder; | ||
| 31 | $this->productsFinder = $productsFinder; | ||
| 32 | } | ||
| 33 | |||
| 34 | public function findByNamePart(string $namePart): ?array | ||
| 41 | } | ||
| 42 | } | ||
| 43 |