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.

NewsStore.php 492B

3 anni fa
3 anni fa
3 anni fa
3 anni fa
3 anni fa
12345678910111213141516171819
  1. <?php
  2. namespace Lc\CaracoleBundle\Repository\Site;
  3. use Lc\CaracoleBundle\Repository\SectionStoreTrait;
  4. use Lc\SovBundle\Repository\RepositoryQueryInterface;
  5. use Lc\SovBundle\Repository\Site\NewsStore as SovNewsStore;
  6. class NewsStore extends SovNewsStore
  7. {
  8. use SectionStoreTrait;
  9. public function filtersDefault(RepositoryQueryInterface $query): RepositoryQueryInterface
  10. {
  11. $query->filterBySection($this->section);
  12. return parent::filtersDefault($query);
  13. }
  14. }