您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

20 行
492B

  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. }