1234567891011121314151617181920212223242526272829303132333435 |
- <?php
- declare(strict_types=1);
- namespace Shlinkio\Shlink\Core\Options;
- use Laminas\Stdlib\AbstractOptions;
- class DeleteShortUrlsOptions extends AbstractOptions
- {
- private int $visitsThreshold = 15;
- private bool $checkVisitsThreshold = true;
- public function getVisitsThreshold(): int
- {
- return $this->visitsThreshold;
- }
- protected function setVisitsThreshold(int $visitsThreshold): self
- {
- $this->visitsThreshold = $visitsThreshold;
- return $this;
- }
- public function doCheckVisitsThreshold(): bool
- {
- return $this->checkVisitsThreshold;
- }
- protected function setCheckVisitsThreshold(bool $checkVisitsThreshold): self
- {
- $this->checkVisitsThreshold = $checkVisitsThreshold;
- return $this;
- }
- }
|