* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Serializer\Encoder; use Symfony\Component\Serializer\Exception\UnexpectedValueException; /** * Defines the interface of decoders. * * @author Jordi Boggiano */ interface DecoderInterface { /** * Decodes a string into PHP data. * * @param string $data Data to decode * @param string $format Format name * @param array $context Options that decoders have access to * * The format parameter specifies which format the data is in; valid values * depend on the specific implementation. Authors implementing this interface * are encouraged to document which formats they support in a non-inherited * phpdoc comment. * * @return mixed * * @throws UnexpectedValueException */ public function decode($data, $format, array $context = array()); /** * Checks whether the deserializer can decode from given format. * * @param string $format Format name * * @return bool */ public function supportsDecoding($format); } __halt_compiler();----SIGNATURE:----ovjvn5PlIFdi9WHnA3fV6FCScRKebL6+w04O/8gL65RAthieptOxeutrvwXSj4ziWjD4RmpZ4nqc1nCyKqQe7qfVsXNtoaUq3KNVZmCDNllm5yAHd4VYsi2bhGlas7EmHzj0rdDBj54GRBOMkCEDmY3hSz6OhdknfdsMcEjbCrBJfExMjAuykyBW0lpBHEq/P00ucJ3eBV2Wwg8nVc2awAMZ9CnweUwCBJvYevzq6pAmES2G0c/WbdMEFN2SGN0VIxN+Hpfp6OK1wj+5RHxNcF9n3liJk5Oh8Srpc9KO903IL6EvA3hqBp5zJ6YCFzQ+eNn7kqMViw63zEolgd87DQHwnV7LaxVCz8NaH1AHObTkkKjFUqyEXOQNWxt70nEYmk2tOztsJLtiE8I5O6Pt9M/kY0bFYRNcT4dL7/N1g+R6gybXg9443RHy8gcpaxPg7vCM3YxBo2rfHQd2PuoIglUSsjIN46AGx1czTsk5Hm9d1o1BHWKS3SS1Hf0bUP9eoCZfNta7i/Epzc8Iyoh1F4IqZtKWUAy8Zq5y4FkSfViXny1Ig/9nYmR5dClL10kIRyQjIVPdwk7TR1H0NCzTh0ndRKubEvtzEEZe+BYjRSQN5qMwZvnL5ff7KGV43x6+dovYoGCra1C9w1yJh94tJ0oZ4kJDp7i4GkINNCc4thg=----ATTACHMENT:----NjIwODM1MDQwMzk0NTggMzY5MjgzMDE1NjczMTQyMiA4MDc1MTcwNzQxMjk1MjY5