Advertisement
Guest User

Untitled

a guest
Jun 27th, 2016
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. public function getActiveSubscriberServices($msisdn)
  2. {
  3. $result = $this->query()
  4. ->select('id')
  5. ->from('subscriber.service')
  6. ->where($this->query()->expr()->in('state', [
  7. '?1',
  8. '?2',
  9. ]))
  10. ->setParameter(1, 'ACTIVE')
  11. ->setParameter(2, 'ANOTHER')
  12. ->execute();
  13. return $result->fetchAll();
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement