Why * [too big](https://refactoring.guru/smells/large-class). has almost 10,000 lines * this is an anti-pattern What * refactor Template.php into multiple smaller classes using the "[extract class](https://refactoring.guru/extract-class)" refactoring technique, probably multiple times :)