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.

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