<?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;
}
Copyright © 2026 PT. Howden Insurance Brokers Indonesia. All rights reserved.
Authorised and regulated by Otoritas Jasa Keuangan (OJK).
Member of The Association of Indonesian Insurance & Reinsurance Brokers (APPARINDO).