Doctrine PHPCR porting