name: SerializerInterface class_comment: null dependencies: [] properties: [] methods: - name: serialize visibility: public parameters: - name: data - name: format - name: context default: '[]' comment: '# * @author Jordi Boggiano # */ # interface SerializerInterface # { # /** # * Serializes data in the appropriate format. # * # * @param array $context Options normalizers/encoders have access to' - name: deserialize visibility: public parameters: - name: data - name: type - name: format - name: context default: '[]' comment: '# * Deserializes data into the given type. # * # * @template TObject of object # * @template TType of string|class-string # * # * @param TType $type # * @param array $context # * # * @psalm-return (TType is class-string ? TObject : mixed) # * # * @phpstan-return ($type is class-string ? TObject : mixed)' traits: [] interfaces: []