mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-07 07:43:12 +08:00
Updated VisitService to have a method which locates visits and allows entity manager to be cleared
This commit is contained in:
@@ -93,7 +93,7 @@ class Visit extends AbstractEntity implements JsonSerializable
|
||||
return $this->visitLocation;
|
||||
}
|
||||
|
||||
public function setVisitLocation(VisitLocation $visitLocation): self
|
||||
public function locate(VisitLocation $visitLocation): self
|
||||
{
|
||||
$this->visitLocation = $visitLocation;
|
||||
return $this;
|
||||
|
||||
Reference in New Issue
Block a user