Maybe "In this case the article is retrieved from the document manager, modified, then retrieved again and assigned to a new variable. Doctrine realizes ..."

"... means Doctrine keeps a map of documents and IDs that have been retrieved in the current PHP request ..."

Also, I think we should talk about article either as a class, in which case its ``Article`` or as a subject in which case its just "article" with no formatting.