Design patterns·Wiring: injection, containers and lifetimes
you put the file in the expected folder with the expected name and it was picked up, with nothing declaring it.
Convention over configuration
Also calledcoding by convention, convention-based wiring
Having a framework infer wiring from names and locations, so only the deviations need to be stated. It removes an enormous amount of declaration and moves the cost to discoverability: nothing in the code points at the mechanism, so a newcomer's only route in is documentation or a search of the framework. It works best when the conventions are few, loud and consistently enforced, and worst when a project has accumulated three generations of them.