Eric Clemmons
|
01fcb1bdd7
|
Updated GetSetMethodNormalizerTest to expect camelCased functions instead of lowercased
|
2012-01-08 13:55:41 -08:00 |
|
lsmith77
|
cb495fd7a3
|
added additional unit tests for deserialization
|
2011-12-11 20:54:18 +01:00 |
|
lsmith77
|
067242d003
|
updated serializer tests to use the new interfaces
|
2011-12-11 20:41:17 +01:00 |
|
lsmith77
|
d811e2919c
|
CS fix
|
2011-12-11 20:40:52 +01:00 |
|
Lukas Kahwe Smith
|
351eaa8506
|
require a (de)normalizer inside the (de)normalizable interfaces instead of a serializer
|
2011-12-11 20:03:01 +01:00 |
|
Fabien Potencier
|
fd12796673
|
merged 2.0
|
2011-12-11 18:50:50 +01:00 |
|
lsmith77
|
b1ca0cdfe9
|
added several tests to the serializer (mainly for deserialization)
|
2011-12-11 12:09:53 +01:00 |
|
excelwebzone
|
c9a2b49eb7
|
Fixed xml encoder test script, and group item tags into an array
|
2011-11-24 09:09:38 -08:00 |
|
Eric Clemmons
|
e851efc8d6
|
Updated SerializerTest with "normalizeTraversable" & "testNormalizeGivesPriorityToInterfaceOverTraversable"
|
2011-11-07 19:25:58 -08:00 |
|
Fabien Potencier
|
851eb73778
|
removed unused use statements
|
2011-10-29 11:56:30 +02:00 |
|
Lukas Kahwe Smith
|
2b4a25a0a7
|
fix tests
|
2011-06-10 01:11:51 +02:00 |
|
Fabien Potencier
|
17cd08dc6c
|
fixed CS
|
2011-06-08 19:56:59 +02:00 |
|
Jordi Boggiano
|
99c67134fe
|
[Serializer] Split decoder/encoder maps
|
2011-05-10 09:17:33 +02:00 |
|
Jordi Boggiano
|
f8447aa74c
|
[Serializer] NormalizableInterface now takes a Serializer and make sure the is always optional
|
2011-05-09 13:59:54 +02:00 |
|
Jordi Boggiano
|
2ea544f21b
|
[Serializer] Fixed tests
|
2011-05-08 18:21:39 +02:00 |
|
Jordi Boggiano
|
b9a2eb66e9
|
[Serializer] CS fixes
|
2011-05-06 19:37:13 +02:00 |
|
Jordi Boggiano
|
ded30a2937
|
[Serializer] Split supports in supportsNormalization and supportsDenormalization
|
2011-05-06 19:36:56 +02:00 |
|
Brouznouf
|
5712b3bd0e
|
[Serializer] [XmlEncoder] Add unit test for decoding / encoding root with attributes
|
2011-04-27 22:16:24 +02:00 |
|
Brikou CARRE
|
e898445b94
|
removed empty lines/trailing spaces
|
2011-04-15 21:12:02 +02:00 |
|
Brouznouf
|
8e6233e9c2
|
[Serializer] Using DOMElement instead of SimpleXmlElement in XmlEncoder to permit some behavior
|
2011-04-12 00:58:21 +02:00 |
|
Fabien Potencier
|
cb62fde8c9
|
[Serializer] fixed some tests that were failing on the CI server
|
2011-03-23 20:27:58 +01:00 |
|
Fabien Potencier
|
411a382d80
|
[Serializer] fixed XmlEncoder for single char tags
|
2011-03-12 15:23:30 +01:00 |
|
Fabien Potencier
|
8c423edfef
|
replaced symfony-project.org by symfony.com
|
2011-03-06 12:40:06 +01:00 |
|
John Wards
|
73cd26e2ca
|
[Serializer] added the ability to add attributes to nodes using an array key begining with @
Example:
array(
'foo-bar' => array(
'@id' => 1,
'@name' => 'Bar'
),
Foo' => array(
'Bar' => "Test",
'@Type' => 'test'
)
)
Parse XML now creates @ attribites for the array.
$rss = array(
"channel" => array(
"title" => "Test RSS",
"description" => "Test description",
"item" => array(
0 => array(
"title" => "Test Title 1",
"link" => "http://foo.com"
),
1 => array(
"title" => "Test Title 2",
"link" => "http://bar.com"
)
)
)
);
<channel>
<title>Test RSS</title>
<description>Test description</description>
<item>
<title>Test Title 1</title>
<link>http://foo.com</link>
</item>
<item>
<title>Test Title 2</title>
<link>http://bar.com</title>
</item>
</channel>
|
2011-02-14 22:20:03 +01:00 |
|
Jordi Boggiano
|
f5f41696ec
|
[Serializer] Allow for more flexible element names
|
2011-02-13 17:47:22 +01:00 |
|
Jordi Boggiano
|
8216a6ef3d
|
[Serializer] Added XmlEncoder::setRootNodeName
|
2011-02-13 17:47:22 +01:00 |
|
Fabian Vogler
|
9bf845bc51
|
Test for SimpleXML encode
|
2011-02-12 21:54:27 +01:00 |
|
Bulat Shakirzyanov
|
5252d3aef0
|
[Serializer] switched to setEncoder, to be consistent with getEncoder
|
2011-01-28 18:24:34 +01:00 |
|
Jordi Boggiano
|
005c1d9df8
|
[Serializer] Added initial version of the Serializer component
|
2011-01-23 12:34:47 +01:00 |
|