Doctrine: register entity - WIP