interface DecoderInterface
Defines the interface of decoders.
mixed | decode(scalar $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. |
Decodes a string into PHP data.
Checks whether the deserializer can decode from given format.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.7/Symfony/Component/Serializer/Encoder/DecoderInterface.html