Copied!
AbstractInterface
Methods
public abstract deserialize(?mixed $data, string $type, string $format, array $context = []) : ?mixed
 

Deserializes data into the given type.

  • template
  • template
  • param \TType $type
  • param array<string,mixed> $context
  • psalm-return (TType is class-string<TObject> ? TObject : mixed)
  • phpstan-return ($type is class-string<TObject> ? TObject : mixed)
public abstract serialize(?mixed $data, string $format, array $context = []) : string
 

Serializes data in the appropriate format.

  • param array<string,mixed> $context Options normalizers/encoders have access to
© 2025 Bruce Wells
Search Namespaces \ Classes
Configuration