Created new REST API action to list orphan visits

This commit is contained in:
Alejandro Celaya
2021-02-09 22:11:09 +01:00
parent dcf2526aad
commit 5d98316c4e
11 changed files with 171 additions and 12 deletions

View File

@@ -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 [