src/PHPDish/Bundle/UserBundle/Service/UserManager.php
public function findUsersByNames($userNames)
    {
        $qb = $this->getRepository()->createQueryBuilder('u');

        return $qb->where($qb->expr()->in('u.username', $userNames))->getQuery()->getResult();
    }
public function findUsersByNames($userNames)
    {
        $qb = $this->getRepository()->createQueryBuilder('u');

        return $qb->where($qb->expr()->in('u.username', $userNames))->getQuery()->getResult();
    }
{@inheritdoc}