File "SerializableInterface.php"
Full Path: /var/www/drive/sentry/sentry/scripts/SerializableInterface.php
File size: 365 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
declare(strict_types=1);
namespace Sentry\Serializer;
/**
* This interface can be used to customize how an object is serialized in the
* payload of an event.
*/
interface SerializableInterface
{
/**
* Returns an array representation of the object for Sentry.
*
* @return mixed[]|null
*/
public function toSentry(): ?array;
}