registerCapability(Capabilities::class); $context->registerEventListener( LoadAdditionalScriptsEvent::class, LoadAdditionalScripts::class ); $context->registerEventListener( LoadSidebar::class, LoadSidebarScripts::class ); $context->registerEventListener( CommentsEntityEvent::class, CommentsEntityEventListener::class ); $context->registerEventListener( CommentsEvent::class, CommentsEventListener::class, ); $context->registerSearchProvider(CommentsSearchProvider::class); $context->registerInitialStateProvider(MaxAutoCompleteResultsInitialState::class); $context->registerNotifierService(Notifier::class); } public function boot(IBootContext $context): void { } }