You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- <?php
-
- namespace Lc\CaracoleBundle\Repository\Reduction;
-
- use Lc\SovBundle\Repository\AbstractStore;
-
- class ReductionCatalogStore extends AbstractStore
- {
- protected ReductionCatalogRepositoryQuery $query;
-
- public function __construct(ReductionCatalogRepositoryQuery $query)
- {
- $this->query = $query;
- }
-
- public function getByProductFamily($productFamily){
- $query = $this->query->create();
- $query->filterProductFamily($productFamily);
- $query->filterStatus(true);
- return $query->findOne();
-
- }
- }
|