Any opinions on the best way to handle persisting the new routes within the event listener?

Using this `postFlush` event should work, but it doesn't, maybe beacuse of some underlying ODM problem, but then I thought it might be better to do this in the `onFlush` method, and so avoid a second call to `flush()` but the problem here seems to be that the ContetObject isn't populated in the new AutoRoute (because in my test case the ContentObject is new too, so hasn't yet got an ID).

So, technically it should be possible to use the onFlush event (and one flush() call) if I could popualate the reference (we can access the UUID before commit right?), or is it better to do it on `postFlush` ?

I noticed @sjopet solved this by calling `->flush()` within `prePersist` (right?) but I guess this isn't ideal as subsequent listeners might not eexpect this to happen.

In either case I think I will need to do some extra work on PHPCR-ODM.