View/Hide Sitemap Inline ...

Long Constructor Argument List


The constructor for an object takes a long list of arguments.


What To Do

If the class is doing too much, it should be refactored into a set of smaller classes. Each class should have a clearly defined responsibility and therefore a smaller set of dependencies.