Benjamin Eberlei
b6bdb450e3
Completly refactor the Serializer Options Pull Request to push context information directly and avoid state and dependencies between SerializerInterface and encoders/normalizers.
2013-01-18 14:08:59 +01:00
Benjamin Eberlei
eacb7e2a36
Rename $options to $context, as it makes the intent much more clear.
2013-01-04 20:06:05 +02:00
Benjamin Eberlei
8854b85abf
Fix CS issues, removed global options
2013-01-04 20:06:04 +02:00
Benjamin Eberlei
9c54a4b552
[Serializer] Allow options to be passed to SerialiizerInterface#serialize and #unserialize. Thsee options are available to all encoders/decoders/normalizers that implement SerializerAwareInterface.
2013-01-04 20:06:04 +02:00
Markus Lanthaler
749dac1e38
Improve docBlock
2012-11-17 18:07:16 +01:00
Fabien Potencier
d100ffaf76
fixed CS
2012-07-09 14:54:20 +02:00
Fabien Potencier
3bdf52a16a
fixed CS
2012-05-18 19:42:42 +02:00
Fabien Potencier
41621e42e9
fixed phpdoc @param alignment
2012-05-15 22:19:31 +02:00
Eriksen Costa
2cac50d8a9
fixed CS (missing or misplaced license blocks)
2012-04-02 00:52:14 -03:00
Eriksen Costa
013f998bb8
updated license blocks
2012-03-31 18:00:32 -03:00
Fabien Potencier
d08c2ef8b4
removed unused use statements
2011-12-18 14:36:25 +01:00
lsmith77
0776b50cf6
removed supports(De)Serializiation()
2011-12-14 18:10:48 +01:00
Lukas Kahwe Smith
b0daf3516f
split off an EncoderInterface and NormalizerInterface from SerializerInterface
2011-12-11 20:03:00 +01:00
Fabien Potencier
851eb73778
removed unused use statements
2011-10-29 11:56:30 +02:00
Lukas Kahwe Smith
6773cd7e05
[Serializer] removed @api since its not yet part of the stable API
2011-07-28 08:32:22 +02:00
Fabien Potencier
a12ea12fc1
fixed CS
2011-06-13 18:54:20 +02:00
Lukas Kahwe Smith
8ef83d548b
marked public api
2011-06-09 14:51:26 +02:00
Lukas Kahwe Smith
f67b3f508e
more encoder lazy loading tweaks
2011-06-09 14:51:26 +02:00
Lukas Kahwe Smith
c54ab34363
removed setEncoder/removeEncoder/addNormalizer/removeNormalizer
2011-06-09 14:51:25 +02:00
Lukas Kahwe Smith
1eecf1a5d1
made (de)normalizeObject() private
2011-06-09 14:50:55 +02:00
Lukas Kahwe Smith
054e41573e
renamed hasEncoder/hasDecoder to supportsSerialization/supportsDeserialization
2011-06-09 14:50:55 +02:00
Lukas Kahwe Smith
34b5a67987
expand interface
...
actually the main methods I am looking for is hasDecoder() and getEncoder() to be able to check if there is a Decoder to decode the Request body as well as if the encoder implements the TemplatingAwareInterface
2011-06-09 14:50:25 +02:00
Johannes Schmitt
ec1199eda7
[Serializer] updated SerializerInterface
2011-05-06 13:01:19 +02:00
Pascal Borreli
8c0beea677
[Phpdoc] Cleaning/fixing
2011-04-23 15:18:47 +00:00
Jordi Boggiano
54ffb1fbc0
[Serializer] Added @api annotations
2011-04-03 15:49:40 +02:00
Jordi Boggiano
76cab7deb9
[Serializer] add methods to the SerializerInterface
2011-04-03 15:15:53 +02:00
Fabien Potencier
8c423edfef
replaced symfony-project.org by symfony.com
2011-03-06 12:40:06 +01:00
Bulat Shakirzyanov
5252d3aef0
[Serializer] switched to setEncoder, to be consistent with getEncoder
2011-01-28 18:24:34 +01:00
Jordi Boggiano
08f8b223ff
[Serializer] Added hasEncoder and getEncoder to the SerializerInterface
2011-01-25 11:06:18 +01:00
Jordi Boggiano
005c1d9df8
[Serializer] Added initial version of the Serializer component
2011-01-23 12:34:47 +01:00