Added test covering imported short URLs with visits

This commit is contained in:
Alejandro Celaya
2021-04-18 12:44:02 +02:00
parent c8b8947b1f
commit b277f431c2
4 changed files with 91 additions and 19 deletions

View File

@@ -150,6 +150,15 @@ class Visit extends AbstractEntity implements JsonSerializable
return $this->type;
}
/**
* Needed only for ArrayCollections to be able to apply criteria filtering
* @internal
*/
public function getType(): string
{
return $this->type();
}
public function jsonSerialize(): array
{
return [