Commit 1e850835 authored by xjm's avatar xjm

Issue #2910682 by Wim Leers, jhedstrom, damiankloip, dawehner, Grayside: Mark...

Issue #2910682 by Wim Leers, jhedstrom, damiankloip, dawehner, Grayside: Mark serializer encoders @internal
parent 3cadcd5d
......@@ -10,6 +10,10 @@
/**
* Adds 'ajax to the supported content types of the JSON encoder'
*
* @internal
* This encoder should not be used directly. Rather, use the `serializer`
* service.
*/
class JsonEncoder extends BaseJsonEncoder implements EncoderInterface, DecoderInterface {
......
......@@ -12,6 +12,10 @@
*
* This acts as a wrapper class for Symfony's XmlEncoder so that it is not
* implementing NormalizationAwareInterface, and can be normalized externally.
*
* @internal
* This encoder should not be used directly. Rather, use the `serializer`
* service.
*/
class XmlEncoder extends SerializerAwareEncoder implements EncoderInterface, DecoderInterface {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment