Updated NotifyVisitToWebHooks so that it waits for all requests to finish

This commit is contained in:
Alejandro Celaya
2019-12-27 17:07:20 +01:00
parent 562b0a0868
commit 21a3d4b66b
4 changed files with 40 additions and 15 deletions

View File

@@ -61,6 +61,11 @@ class Visit extends AbstractEntity implements JsonSerializable
return ! empty($this->remoteAddr);
}
public function getShortUrl(): ShortUrl
{
return $this->shortUrl;
}
public function getVisitLocation(): VisitLocationInterface
{
return $this->visitLocation ?? new UnknownVisitLocation();