Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
gilour
/
sentry
/
sentry
/
scripts
:
PayloadSerializerInterface.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php declare(strict_types=1); namespace Sentry\Serializer; use 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; }