public function Criteria::setMaxResults in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/doctrine/collections/lib/Doctrine/Common/Collections/Criteria.php \Doctrine\Common\Collections\Criteria::setMaxResults()
Sets maxResults.
Parameters
int|null $maxResults The value to set.:
Return value
1 call to Criteria::setMaxResults()
- Criteria::__construct in vendor/
doctrine/ collections/ lib/ Doctrine/ Common/ Collections/ Criteria.php - Construct a new Criteria.
File
- vendor/
doctrine/ collections/ lib/ Doctrine/ Common/ Collections/ Criteria.php, line 253
Class
- Criteria
- Criteria for filtering Selectable collections.
Namespace
Doctrine\Common\CollectionsCode
public function setMaxResults($maxResults) {
$this->maxResults = null === $maxResults ? null : (int) $maxResults;
return $this;
}