# woocommerce-pos/1.10.20/vendor_prefixed/sentry/sentry/src/Serializer/PayloadSerializerInterface.php

WCPOS – Point of Sale (POS) plugin for WooCommerce, version 1.10.20. 20 lines.

- Page: https://pluginprobe.com/plugins/woocommerce-pos/1.10.20/code/vendor_prefixed/sentry/sentry/src/Serializer/PayloadSerializerInterface.php
- Raw: https://pluginprobe.com/plugins/woocommerce-pos/1.10.20/raw/vendor_prefixed/sentry/sentry/src/Serializer/PayloadSerializerInterface.php
- Modified: 2026-09-01T14:48:10+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/woocommerce-pos/1.10.20/code/vendor_prefixed/sentry/sentry/src/Serializer/PayloadSerializerInterface.php#L10-L20`.

```php
<?php

declare (strict_types=1);
namespace WCPOS\Vendor\Sentry\Serializer;

use WCPOS\Vendor\Sentry\Event;
/**
 * This interface defines the contract for the classes willing to serialize an
 * event object to a format suitable for sending over the wire to Sentry.
 */
interface PayloadSerializerInterface
{
    /**
     * Serializes the given event object into a string.
     *
     * @param Event $event The event object
     */
    public function serialize(Event $event) : string;
}

```
