mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-07 15:53:13 +08:00
16 lines
383 B
PHP
16 lines
383 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Shlinkio\Shlink\Core\Visit;
|
|
|
|
use Psr\Http\Message\ServerRequestInterface;
|
|
use Shlinkio\Shlink\Core\Entity\ShortUrl;
|
|
|
|
interface RequestTrackerInterface
|
|
{
|
|
public function trackIfApplicable(ShortUrl $shortUrl, ServerRequestInterface $request): void;
|
|
|
|
public function trackNotFoundIfApplicable(ServerRequestInterface $request): void;
|
|
}
|