Decoder delegating the decoding to a chain of decoders.
- author Jordi Boggiano
- author Johannes M.
Schmitt - author Lukas Kahwe Smith
- final
CloneableInstantiable
Methods |
public __construct(array $decoders = [])
|
public final decode(string $data, string $format, array $context = []) : ?mixed |
public supportsDecoding(string $format, array $context = []) : bool |
Properties |
private array $decoderByFormat = []
|
private readonly array $decoders |
Methods |
private getDecoder(string $format, array $context) : Symfony Gets the decoder supporting the format.
|