@andrey1s `getRepository` in your case it's a too generic name for method, especially when you're in `DefaultController`. Reader need to look what type of repository this method returns every time he sees it. You need at least to rename it to something like `getArticleRepository`.