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
:
RepresentationSerializerInterface.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php declare(strict_types=1); namespace Sentry\Serializer; /** * Serializes a value into a representation that should reasonably suggest * both the type and value, and be serializable into JSON. */ interface RepresentationSerializerInterface { /** * Serialize an object (recursively) into something safe to be sent as a stacktrace frame argument. * * The main difference with the {@link SerializerInterface} is the fact that even basic types * (bool, int, float) are converted into strings, to avoid misrepresentations on the server side. * * @param mixed $value * * @return mixed[]|string|null */ public function representationSerialize($value); }