Skip to content

WebhookLogSanitizerInterface

Source: view src/Contracts/WebhookLogSanitizerInterface.php

Generated from the public PHP contract and its PHPDoc. Driver support varies; check instanceof or GatewayCapabilities before calling optional gateway capabilities.

sanitize

Return a copy of the payload safe for structured logs (redact secrets / PII keys).

public function sanitize(array $payload): array;