File "Limit-20250409171717.php"
Full Path: /home/pulsehostuk9/public_html/invoicer.pulsehost.co.uk/vendor/doctrine/dbal/src/Query/Expression/Limit-20250409171717.php
File size: 521 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
declare(strict_types=1);
namespace Doctrine\DBAL\Query;
final class Limit
{
public function __construct(
private readonly ?int $maxResults,
private readonly int $firstResult,
) {
}
public function isDefined(): bool
{
return $this->maxResults !== null || $this->firstResult !== 0;
}
public function getMaxResults(): ?int
{
return $this->maxResults;
}
public function getFirstResult(): int
{
return $this->firstResult;
}
}