Replace calls to Registry::getEntityNamespace with getAliasNamespace
merged branch xanido/doctrine-deprecation (PR #198)

This PR was merged into the master branch.

Discussion
----------

Replace calls to the deprecated Registry::getEntityNamespace

Replace calls to the deprecated Registry::getEntityNamespace with getAliasNamespace (see doctrine/DoctrineBundle@89c7e1486dcf162ef0b5848209748fcc556e1486).

Commits
-------

31a8819 Replace calls to Registry::getEntityNamespace with getAliasNamespace