Bridge/Doctrine/ORM/Repository/SupplierProductRepository.php
protected function getFindBySubjectQuery()
    {
        if (null !== $this->findBySubjectQuery) {
            return $this->findBySubjectQuery;
        }

        $qb = $this->createFindBySubjectQueryBuilder();

        return $this->findBySubjectQuery = $qb->getQuery();
    }
protected function getFindBySubjectQuery()
    {
        if (null !== $this->findBySubjectQuery) {
            return $this->findBySubjectQuery;
        }

        $qb = $this->createFindBySubjectQueryBuilder();

        return $this->findBySubjectQuery = $qb->getQuery();
    }
Returns the "find by subject" query.

@return \Doctrine\ORM\Query