framework/src/Admin
Franz Liedke b41d9fb0e7
Inject dependencies when firing events, not before
The event subscriber approach means that dependencies have to be
injected (and thus instantiated, along with all *their* dependencies) at
the time of registering event listeners - even when events are never
fired within a request's lifecycle.

This is unnecessary and causes more classes than necessary to be loaded.

In this case, we can explicitly register event listeners that will
resolve their dependencies when the event is fired, not before.

Refs #1578.
2018-12-13 02:01:50 +01:00
..
Content Refactor frontend code to allow for extension of assets 2018-11-22 12:09:50 +10:30
Middleware Use PSR-15 middleware standard 2018-05-29 00:18:24 +02:00
AdminServiceProvider.php Inject dependencies when firing events, not before 2018-12-13 02:01:50 +01:00
routes.php Frontend refactor (#1471) 2018-06-30 12:31:12 +09:30