*Hi All,
*I am facing problem while trying  to generate xml using Serializer . Here 
is the code
1. $serializer = new \Symfony\Component\Serializer\Serializer();
2. $serializer->addNormalizer(new 
\Symfony\Component\Serializer\Normalizer\CustomNormalizer()());

*Fatal error at line 2.
Fatal error*: Call to undefined method 
Symfony\Component\Serializer\Serializer::addNormalizer() in *
C:\xampp\htdocs\symfony\src\Acme\DemoBundle\Controller\DemoController.php*on 
line 
*77*

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to