schmittjoh/serializer — pull request #91 by samuelwilliams (2013-05-15 22:19:15+00:00)
Title: Register annotations namespace

When using the standalone library, it is necessary to register the library's namespace with doctrine using the method call:

\Doctrine\Common\Annotations\AnnotationRegistry::registerAutoloadNamespace(
'JMS\\Serializer\\Annotation',
"path/to/jms/serializer/"
);

otherwise there is a fatal error.

This pull request fixes this issue by registering the autoload namespace in the builder.