This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/Serializer
Kévin Dunglas eac37cd4ae bug #17328 [Serializer] Allow to use proxies in object_to_populate (dunglas)
This PR was merged into the 2.7 branch.

Discussion
----------

[Serializer] Allow to use proxies in object_to_populate

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #15627, dunglas/DunglasApiBundle#381
| License       | MIT
| Doc PR        | n/a

Allows to populate a proxy (or any class having the given type).

Commits
-------

b16b5b9 [Serializer] Allow to use proxies in object_to_populate
2016-01-13 11:07:31 +01:00
..
Annotation [Serializer] Fix Groups PHPDoc 2015-07-03 14:45:08 +02:00
Encoder fixes CS 2015-08-24 09:13:45 +02:00
Exception fixes CS 2015-08-24 09:13:45 +02:00
Mapping [Serializer] Make metadata interfaces internal 2015-12-22 21:37:45 +01:00
NameConverter fixes CS 2015-08-24 09:13:45 +02:00
Normalizer bug #17328 [Serializer] Allow to use proxies in object_to_populate (dunglas) 2016-01-13 11:07:31 +01:00
Tests bug #17328 [Serializer] Allow to use proxies in object_to_populate (dunglas) 2016-01-13 11:07:31 +01:00
.gitignore Added missing files .gitignore 2013-07-21 14:12:18 +02:00
CHANGELOG.md [Serializer] Introduce ObjectNormalizer 2015-03-06 11:52:53 +01:00
composer.json Merge branch '2.3' into 2.7 2015-10-30 13:10:21 -07:00
LICENSE Update copyright year 2016-01-01 23:53:47 -03:00
phpunit.xml.dist Add missing exclusions from phpunit.xml.dist 2015-11-18 09:19:46 +01:00
README.md fixed typo 2015-05-16 14:34:16 +02:00
Serializer.php Merge branch '2.3' into 2.7 2016-01-12 18:44:11 +01:00
SerializerAwareInterface.php [2.3] CS And DocBlock Fixes 2014-12-22 16:58:09 +01:00
SerializerInterface.php [2.3] CS And DocBlock Fixes 2014-12-22 16:58:09 +01:00

Serializer Component

With the Serializer component it's possible to handle serializing data structures, including object graphs, into array structures or other formats like XML and JSON. It can also handle deserializing XML and JSON back to object graphs.

Resources

You can run the unit tests with the following command:

$ cd path/to/Symfony/Component/Serializer/
$ composer install
$ phpunit