public function findSerieGames($idSerie)
    {
        $query = $this->createQueryBuilder('g');
        $query
            ->where('g.idSerie = :idSerie')
            ->setParameter('idSerie', $idSerie);

        $this->onlyActive($query);
        $this->withPlatforms($query);

        return $query->getQuery()->getResult();
    }
public function findSerieGames($idSerie)
    {
        $query = $this->createQueryBuilder('g');
        $query
            ->where('g.idSerie = :idSerie')
            ->setParameter('idSerie', $idSerie);

        $this->onlyActive($query);
        $this->withPlatforms($query);

        return $query->getQuery()->getResult();
    }
public function findSerieGames ( $ idSerie ) { $ query = $ this -> createQueryBuilder ( 'g' ) ; $ query -> where ( 'g.idSerie = :idSerie' ) -> setParameter ( 'idSerie' , $ idSerie ) ; $ this -> onlyActive ( $ query ) ; $ this -> withPlatforms ( $ query ) ; return $ query -> getQuery ( ) -> getResult ( ) ; }
Finds games in the given series.

@param int $idSerie
@return array
Finds games in the given series .