|
4 | 4 | use AppZap\PHPFramework\Configuration\Configuration;
|
5 | 5 | use AppZap\PHPFramework\Configuration\DefaultConfiguration;
|
6 | 6 | use AppZap\PHPFramework\Configuration\Parser\IniParser;
|
| 7 | +use AppZap\PHPFramework\Mvc\AbstractController; |
7 | 8 | use AppZap\PHPFramework\Mvc\ApplicationPartMissingException;
|
8 | 9 | use AppZap\PHPFramework\Mvc\Dispatcher;
|
9 | 10 | use AppZap\PHPFramework\SignalSlot\Dispatcher as SignalSlotDispatcher;
|
@@ -59,11 +60,12 @@ protected static function loadPlugins() {
|
59 | 60 | *
|
60 | 61 | */
|
61 | 62 | protected static function registerCoreSlots() {
|
| 63 | + SignalSlotDispatcher::registerSlot(AbstractController::SIGNAL_INIT_RESPONSE, ['AppZap\PHPFramework\SignalSlot\CoreSlots', 'contentTypeHeader']); |
62 | 64 | SignalSlotDispatcher::registerSlot(Dispatcher::SIGNAL_CONSTRUCT, ['AppZap\PHPFramework\SignalSlot\CoreSlots', 'invokeDatabaseMigrator']);
|
63 |
| - SignalSlotDispatcher::registerSlot(Dispatcher::SIGNAL_START_DISPATCHING, ['AppZap\PHPFramework\SignalSlot\CoreSlots', 'readOutputFromCache']); |
64 | 65 | SignalSlotDispatcher::registerSlot(Dispatcher::SIGNAL_OUTPUT_READY, ['AppZap\PHPFramework\SignalSlot\CoreSlots', 'writeOutputToCache']);
|
65 | 66 | SignalSlotDispatcher::registerSlot(Dispatcher::SIGNAL_OUTPUT_READY, ['AppZap\PHPFramework\SignalSlot\CoreSlots', 'addFrameworkSignatureToOutput']);
|
66 | 67 | SignalSlotDispatcher::registerSlot(Dispatcher::SIGNAL_OUTPUT_READY, ['AppZap\PHPFramework\SignalSlot\CoreSlots', 'echoOutput']);
|
| 68 | + SignalSlotDispatcher::registerSlot(Dispatcher::SIGNAL_START_DISPATCHING, ['AppZap\PHPFramework\SignalSlot\CoreSlots', 'readOutputFromCache']); |
67 | 69 | }
|
68 | 70 |
|
69 | 71 | /**
|
|
0 commit comments