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.

SectionRepositoryQueryTrait.php 333B

123456789101112131415
  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. return $this
  9. ->andWhere('.section = :section')
  10. ->setParameter(':section', $section);
  11. }
  12. }