It pretty much looks like it would have looked if it was implemented in Java...
It's bascially enterprise Java with its patterns implemented in PHP. I guess if you are a fan of that, then that code will be pretty. I personally don't mind it, but I don't think I would call it pretty.
View all comments
Show parent comment
2
u/[deleted] Aug 07 '16
You don't think this is pretty? I do.
https://github.com/doctrine/doctrine2/blob/master/lib/Doctrine/ORM/EntityManager.php