ChainDecoder
class ChainDecoder implements ContextAwareDecoderInterface
Decoder delegating the decoding to a chain of decoders.
Properties
protected | $decoders | ||
protected | $decoderByFormat |
Methods
__construct(array $decoders = array())
No description
mixed
decode(string $data, string $format, array $context = array())
Decodes a string into PHP data.
bool
supportsDecoding(string $format, array $context = array())
Checks whether the deserializer can decode from given format.