mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
2b49ad42f5
Using DI for all hook access means that it becomes significantly easier to mock hooks and callbacks for unit testing without fundamentally altering the structure of the code purely for the purposes of unit testing.