Copied!

Collects some data about serialization.

Cloneable Instantiable
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 $serializer , Symfony\Component\Serializer\DataCollector\SerializerDataCollector $dataCollector )
 
  • param SerializerInterface&\NormalizerInterface&\DenormalizerInterface&\EncoderInterface&\DecoderInterface $serializer
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 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
 
© 2022 Bruce Wells
Search Namespaces \ Classes
Configuration