public function getDefaultQueryBuilder()
    {
        $em = $this->getEntityManager();
        return $em->createQueryBuilder()
            ->select('n')
            ->from($this->getClassname(), 'n');
    }
public function getDefaultQueryBuilder()
    {
        $em = $this->getEntityManager();
        return $em->createQueryBuilder()
            ->select('n')
            ->from($this->getClassname(), 'n');
    }
public function getDefaultQueryBuilder ( ) { $ em = $ this -> getEntityManager ( ) ; return $ em -> createQueryBuilder ( ) -> select ( 'n' ) -> from ( $ this -> getClassname ( ) , 'n' ) ; }
gets the default query builder

@return QueryBuilder
gets the default query builder