get('userId'); } public function getTargetEntityId(): ?string { return $this->get('entityId'); } public function getTargetEntityType(): ?string { return $this->get('entityType'); } public function getType(): ?string { return $this->get('type'); } public function getSeconds(): int { return (int) $this->get('seconds'); } }