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

23 行
649B

  1. <?php
  2. namespace Lc\CaracoleBundle\Repository\Site;
  3. use Lc\CaracoleBundle\Repository\MerchantRepositoryQueryTrait;
  4. use Lc\CaracoleBundle\Repository\SectionRepositoryQueryTrait;
  5. use Lc\CaracoleBundle\Repository\StatusRepositoryQueryTrait;
  6. use Lc\SovBundle\Repository\Site\PageRepositoryQuery as SovPageRepositoryQuery;
  7. class PageRepositoryQuery extends SovPageRepositoryQuery
  8. {
  9. use SectionRepositoryQueryTrait;
  10. use StatusRepositoryQueryTrait;
  11. public function filterByDevAlias(string $devAlias): self
  12. {
  13. return $this
  14. ->andWhere('.devAlias = :devAlias')
  15. ->setParameter('devAlias', $devAlias);
  16. }
  17. }