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.

14 lines
300B

  1. <?php
  2. namespace Lc\CaracoleBundle\Repository;
  3. use Lc\CaracoleBundle\Model\Section\SectionInterface;
  4. trait SectionRepositoryQueryTrait
  5. {
  6. public function filterBySection(SectionInterface $section)
  7. {
  8. $this->andWhere('.section = :section')->setParameter(':section', $section);
  9. }
  10. }