medium effort: https://github.com/dantleech/symfony-doctrine-phpcr-edition/commit/c73104d803d5fd4d630e8bd5574941ad4ebcb3f7