ChainDecoder
ChainDecoder
class ChainDecoder implements DecoderInterface
Decoder delegating the decoding to a chain of decoders.
Methods
__construct(array $decoders = array()) | ||
mixed | decode(string $data, string $format, array $context = array()) Decodes a string into PHP data. | |
bool | supportsDecoding(string $format) Checks whether the deserializer can decode from given format. |
Details
__construct(array $decoders = array())
final mixed decode(string $data, string $format, array $context = array())
Decodes a string into PHP data.
bool supportsDecoding(string $format)
Checks whether the deserializer can decode from given format.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.1/Symfony/Component/Serializer/Encoder/ChainDecoder.html