Copied!

Collects some data about encoding.

CloneableInstantiable
Methods
public __call(string $method, array $arguments) : ?mixed
 

Proxies all method calls to the original encoder.

public __construct(Symfony\Component\Serializer\Encoder\EncoderInterface|Symfony\Component\Serializer\Encoder\DecoderInterface $encoder, Symfony\Component\Serializer\DataCollector\SerializerDataCollector $dataCollector, string $serializerName = 'default')
public decode(string $data, string $format, array $context = []) : ?mixed
public encode(?mixed $data, string $format, array $context = []) : string
public needsNormalization() : bool
public setSerializer(Symfony\Component\Serializer\SerializerInterface $serializer) : void
public supportsDecoding(string $format, array $context = []) : bool
public supportsEncoding(string $format, array $context = []) : bool
© 2025 Bruce Wells
Search Namespaces \ Classes
Configuration