BootCompletedEvent

New in version 11.4.

The BootCompletedEvent is fired on every request when TYPO3 has been fully booted, right after all configuration files have been added.

This new event complements the AfterTcaCompilationEvent which is executed after TCA configuration has been assembled.

Use cases for this event include running extensions’ code which needs to be executed at any time, and needs TYPO3’s full configuration including all loaded extensions.

Registration of the event in the Services.yaml:

MyVendor\MyPackage\Bootstrap\MyEventListener:
  tags:
    - name: event.listener
      identifier: 'my-package/my-listener'
class MyEventListener {
    public function __invoke(BootCompletedEvent $e): void
    {
        // do your magic
    }
}

API

isCachingEnabled()

| ReturnType: boolean |