mirror of
https://github.com/shlinkio/shlink.git
synced 2026-02-28 04:03:12 +08:00
24 lines
606 B
PHP
24 lines
606 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Shlinkio\Shlink\Rest\Action\Visit;
|
|
|
|
use Pagerfanta\Pagerfanta;
|
|
use Psr\Http\Message\ServerRequestInterface;
|
|
use Shlinkio\Shlink\Core\Visit\Model\VisitsParams;
|
|
use Shlinkio\Shlink\Rest\Entity\ApiKey;
|
|
|
|
class NonOrphanVisitsAction extends AbstractListVisitsAction
|
|
{
|
|
protected const string ROUTE_PATH = '/visits/non-orphan';
|
|
|
|
protected function getVisitsPaginator(
|
|
ServerRequestInterface $request,
|
|
VisitsParams $params,
|
|
ApiKey $apiKey,
|
|
): Pagerfanta {
|
|
return $this->visitsHelper->nonOrphanVisits($params, $apiKey);
|
|
}
|
|
}
|