Symfony2 - How get entity manager in entity class