#1188 - Importing parser class
This commit is contained in:
parent
78770f9da8
commit
8b5dae30a5
@ -19,6 +19,7 @@
|
||||
|
||||
namespace Doctrine\ORM\Tools\Pagination;
|
||||
|
||||
use Doctrine\ORM\Query\Parser;
|
||||
use Doctrine\ORM\QueryBuilder;
|
||||
use Doctrine\ORM\Query;
|
||||
use Doctrine\ORM\Query\ResultSetMapping;
|
||||
@ -255,7 +256,7 @@ class Paginator implements \Countable, \IteratorAggregate
|
||||
|
||||
$countQuery->setFirstResult(null)->setMaxResults(null);
|
||||
|
||||
$parser = new Query\Parser($countQuery);
|
||||
$parser = new Parser($countQuery);
|
||||
$parameterMappings = $parser->parse()->getParameterMappings();
|
||||
$parameters = $countQuery->getParameters();
|
||||
foreach ($parameters as $k => $param){
|
||||
|
Loading…
x
Reference in New Issue
Block a user