Please sign in to comment.
Moved doctrine knowledge into a manager class
The controller didn't need to know about the implementation details of doctrine, it only needs to know that our application can provide some blog posts objects. Therefore we introduce a "Manager" class whose job it is to do that.
- Loading branch information
Showing with 20 additions and 20 deletions.
|@@ -0,0 +1,9 @@|