client; } public function isBrowser(): bool { return $this->is_browser; } public function isMobile(): bool { return $this->is_mobile; } public function isBot(): bool { return $this->is_bot; } public function getBrowserFamily(): ?string { return $this->browser_family; } public function getOsFamily(): ?string { return $this->os_family; } public function jsonSerialize(): array { return [ 'client' => $this->client, 'is_browser' => $this->is_browser, 'is_mobile' => $this->is_mobile, 'is_bot' => $this->is_bot, 'browser_family' => $this->browser_family, 'os_family' => $this->os_family, ]; } }