this is phpcr-odm specific. i think you need to make this class abstract and have a Doctrine\Phpcr specific class that implements a getModelLocale() method doing the above line (well, and using the registry instead of having $this->dm)