%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /www/loslex/demo/vendor/doctrine/dbal/src/Query/
Upload File :
Create Path :
Current File : /www/loslex/demo/vendor/doctrine/dbal/src/Query/Limit.php

<?php

namespace Doctrine\DBAL\Query;

final class Limit
{
    private ?int $maxResults;
    private int $firstResult;

    public function __construct(?int $maxResults, int $firstResult)
    {
        $this->maxResults  = $maxResults;
        $this->firstResult = $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;
    }
}

Zerion Mini Shell 1.0