Translations:Manual:Writing testable PHP code/10/en

That is, a class only uses the information it is passed and does not rely on singletons or globals to get “out-of-band” information.