doctrine/doctrine2 — pull request #494 by md2perpe (2012-11-01 13:59:31+00:00)
Title: Update lib/Doctrine/ORM/Persisters/BasicEntityPersister.php

My version of solving the "if object not found in cache, create object, store it, and then return it" in PHP using references.

Mostly as a suggestion. I think it's a beautiful solution, although it might not be as obvious as the current solution.