Resolver/PaginatorAnnotationResolver.php
private function createQueryBuilder(string $entityNamespace) : QueryBuilder
    {
        return $this
            ->doctrine
            ->getManagerForClass($entityNamespace)
            ->createQueryBuilder()
            ->select(['x'])
            ->from($entityNamespace, 'x');
    }
private function createQueryBuilder(string $entityNamespace) : QueryBuilder
    {
        return $this
            ->doctrine
            ->getManagerForClass($entityNamespace)
            ->createQueryBuilder()
            ->select(['x'])
            ->from($entityNamespace, 'x');
    }
private function createQueryBuilder ( string $ entityNamespace ) : QueryBuilder { return $ this -> doctrine -> getManagerForClass ( $ entityNamespace ) -> createQueryBuilder ( ) -> select ( [ 'x' ] ) -> from ( $ entityNamespace , 'x' ) ; }
Generate QueryBuilder.

@param string $entityNamespace

@return QueryBuilder
Generate QueryBuilder .