Copied!

Collects some data about serialization.

CloneableInstantiable
Constants
public Symfony\Component\Serializer\Normalizer\DenormalizerInterface::COLLECT_DENORMALIZATION_ERRORS = 'collect_denormalization_errors'
public Symfony\Component\Serializer\Debug\TraceableSerializer::DEBUG_TRACE_ID = 'debug_trace_id'
Methods
public __call(string $method, array $arguments) : ?mixed
 

Proxies all method calls to the original serializer.

public __construct((Symfony\Component\Serializer\SerializerInterface&Symfony\Component\Serializer\Normalizer\NormalizerInterface&Symfony\Component\Serializer\Normalizer\DenormalizerInterface&Symfony\Component\Serializer\Encoder\EncoderInterface&Symfony\Component\Serializer\Encoder\DecoderInterface) $serializer, Symfony\Component\Serializer\DataCollector\SerializerDataCollector $dataCollector, string $serializerName = 'default')
public decode(string $data, string $format, array $context = []) : ?mixed
public denormalize(?mixed $data, string $type, ?string $format = NULL, array $context = []) : ?mixed
public deserialize(?mixed $data, string $type, string $format, array $context = []) : ?mixed
public encode(?mixed $data, string $format, array $context = []) : string
public getSupportedTypes(?string $format) : array
public normalize(?mixed $object, ?string $format = NULL, array $context = []) : ArrayObject|array|string|int|float|bool|?null
public serialize(?mixed $data, string $format, array $context = []) : string
public supportsDecoding(string $format, array $context = []) : bool
public supportsDenormalization(?mixed $data, string $type, ?string $format = NULL, array $context = []) : bool
public supportsEncoding(string $format, array $context = []) : bool
public supportsNormalization(?mixed $data, ?string $format = NULL, array $context = []) : bool
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration