Checks whether the serializer can encode to given format
Parameters
string $format format name:
Return value
Boolean
File
- drupal/core/vendor/symfony/serializer/Symfony/Component/Serializer/Encoder/EncoderInterface.php, line 39
Class
- EncoderInterface
- Defines the interface of encoders
Namespace
Symfony\Component\Serializer\Encoder
Code
public function supportsEncoding($format);