wikimedia/mediawiki-extensions-CirrusSearch

View on GitHub
includes/Hooks/CirrusSearchProfileServiceHook.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace CirrusSearch\Hooks;

use CirrusSearch\Profile\SearchProfileService;

/**
 * This is a hook handler interface, see docs/Hooks.md in core.
 * Use the hook name "CirrusSearchProfileService" to register handlers implementing this interface.
 *
 * @stable to implement
 * @ingroup Hooks
 */
interface CirrusSearchProfileServiceHook {
    /**
     * This hook is called to register search profiles
     *
     * @param SearchProfileService $service
     */
    public function onCirrusSearchProfileService( SearchProfileService $service ): void;
}