Symfony\Component\Serializer\Encoder\ChainDecoder::getDecoder
Gets the decoder supporting the format.
Signature
private function getDecoder(string
$format )
Parameters
$format
— string
Returns
- DecoderInterface
Errors/Exceptions
-
RuntimeException
- if no decoder is found