mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-11 01:33:11 +08:00
Created new REST API action to list orphan visits
This commit is contained in:
@@ -109,6 +109,16 @@ class Visit extends AbstractEntity implements JsonSerializable
|
||||
return $this->shortUrl === null;
|
||||
}
|
||||
|
||||
public function visitedUrl(): ?string
|
||||
{
|
||||
return $this->visitedUrl;
|
||||
}
|
||||
|
||||
public function type(): string
|
||||
{
|
||||
return $this->type;
|
||||
}
|
||||
|
||||
public function jsonSerialize(): array
|
||||
{
|
||||
return [
|
||||
|
||||
Reference in New Issue
Block a user