Oncle Tom
|
ae55a98604
Added $format in serialize() method, to keep consistence and give a hint to the normalizer.
|
13 years ago |
Lukas Kahwe Smith
|
f67b3f508e
more encoder lazy loading tweaks
|
14 years ago |
Lukas Kahwe Smith
|
4b3f6215b7
always use getEncoder() to enable lazy loading
|
14 years ago |
Lukas Kahwe Smith
|
64c8a1ab8c
cosmetic tweak
|
14 years ago |
Lukas Kahwe Smith
|
c54ab34363
removed setEncoder/removeEncoder/addNormalizer/removeNormalizer
|
14 years ago |
Lukas Kahwe Smith
|
c470d8b273
moved the methods that can later be moved to a Builder to the bottom
|
14 years ago |
Lukas Kahwe Smith
|
5b3ccba2a1
use getEncoder inside encode/decode
|
14 years ago |
Lukas Kahwe Smith
|
7ecd5e7590
made serialize/deserialize/encode/decode final
|
14 years ago |
Lukas Kahwe Smith
|
52b8cb622d
added Constructor
|
14 years ago |
Lukas Kahwe Smith
|
46da5ff069
added Exception's from SerializerBundle
|
14 years ago |
Lukas Kahwe Smith
|
1eecf1a5d1
made (de)normalizeObject() private
|
14 years ago |
Lukas Kahwe Smith
|
054e41573e
renamed hasEncoder/hasDecoder to supportsSerialization/supportsDeserialization
|
14 years ago |
Lukas Kahwe Smith
|
900dda8239
notice fixes
|
14 years ago |
Lukas Kahwe Smith
|
9fdfac81ec
typo fixes
|
14 years ago |
Lukas Kahwe Smith
|
c3acd5df54
all encoders implement EncoderInterface
|
14 years ago |
Lukas Kahwe Smith
|
e694397f16
removed redundant management of encoders and decoders, aka assume all decoders are also encoders
|
14 years ago |
Fabien Potencier
|
62e4342a86
fixed CS
|
14 years ago |
Lukas Kahwe Smith
|
34ac2fe200
fixed a typo
|
14 years ago |
Pierre Minnieur
|
8bc13b9cdd
fixed wrong usage of `supportsDenormalization()` (@see NormalizerInterface)
|
14 years ago |
Jordi Boggiano
|
9e19e772bc
[Serializer] Restored docblocks from the deleted methods on SerializerInterface
|
14 years ago |
Jordi Boggiano
|
457dc105bc
[Serializer] minor optimization
|
14 years ago |
Jordi Boggiano
|
99c67134fe
[Serializer] Split decoder/encoder maps
|
14 years ago |
Jordi Boggiano
|
f8447aa74c
[Serializer] NormalizableInterface now takes a Serializer and make sure the is always optional
|
14 years ago |
Jordi Boggiano
|
3b88608d85
[Serializer] Fixed typo
|
14 years ago |
Jordi Boggiano
|
9311b0a7e5
[Serializer] Removed properties argument
|
14 years ago |
Jordi Boggiano
|
24dcfef33f
[Serializer] Added NormalizationAwareInterface
|
14 years ago |
Jordi Boggiano
|
4104c7b073
[Serializer] Inlined back the logic from isStructuredType and removed the method
|
14 years ago |
Jordi Boggiano
|
3ecc9602e4
[Serializer] Add checks for SerializerAwareInterface
|
14 years ago |
Jordi Boggiano
|
8263b09b5c
[Serializer] Properly check for the DecoderInterface
|
14 years ago |
Jordi Boggiano
|
fe7119da8a
[Serializer] serialize shouldn't normalize since it's the encoder's job to do that when they require it
|
14 years ago |