microsoftClarity = $microsoftClarity; $this->serializer = $serializer; } /** * @return bool */ public function isEnabled(): bool { return $this->microsoftClarity->isEnabled(); } /** * @return string */ public function getConsentTypesConfigJson(): string { return $this->serializer->serialize( $this->microsoftClarity->getConsentTypesConfig() ); } }