Symfony\Component\Serializer\Encoder\ChainDecoder
Decoder delegating the decoding to a chain of decoders.
- Author: Jordi Boggiano <j.boggiano@seld.be>
Synopsis
class ChainDecoder
implements
DecoderInterface
{
- // members
- protected array $decoders;
- protected array $decoderByFormat;
- // methods
- public void __construct()
- public final void decode()
- public void supportsDecoding()
- private DecoderInterface getDecoder()
Hierarchy
Members
protected
- $decoderByFormat
- $decoders
Methods
private
- getDecoder() — Gets the decoder supporting the format.
public
- __construct()
- decode() — {@inheritdoc}
- supportsDecoding() — {@inheritdoc}