How to store Doctrine entities outside of a Symfony bundle?

http://www.zalas.eu/how-to-store-doctrine-entities-outside-of-a-symfony-bundle