Current File : /var/www/prestashop/modules/ps_mbo/vendor/sentry/sentry/src/Serializer/SerializableInterface.php
<?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;
}