Doctrine\ORM\QueryBuilder::getMaxResults
Gets the maximum number of results the query object was set to retrieve (the "limit").
Returns NULL if was not applied to this query builder.
Signature
public function getMaxResults()
Returns
- integer
- Maximum number of results.