Doctrine\ORM\Query::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.
Signature
public function getMaxResults()
Returns
- integer
- Maximum number of results.