public function getByMatch(\Club\MatchBundle\Entity\Match $match)
 {
     return $this->createQueryBuilder('r')->join('r.matches', 'm', 'with', 'm.match = :match_id')->setParameter('match_id', $match->getId())->getQuery()->getOneOrNullResult();
 }