Browse Source

Merge branch 'develop'

master
Guillaume Bourgeois 11 months ago
parent
commit
bc1c165afb
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      Repository/Reduction/ReductionCartRepositoryQuery.php

+ 7
- 0
Repository/Reduction/ReductionCartRepositoryQuery.php View File

->andWhere(':user MEMBER OF .users') ->andWhere(':user MEMBER OF .users')
->setParameter('user', $user); ->setParameter('user', $user);
} }

public function filterByType(string $type, string $operator = '=')
{
return $this
->andWhere('.type '.$operator.' :type')
->setParameter('type', $type);
}
} }

Loading…
Cancel
Save