wikimedia/mediawiki-extensions-CirrusSearch

View on GitHub
includes/Parser/ParsedQueryClassifier.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace CirrusSearch\Parser;

use CirrusSearch\Parser\AST\ParsedQuery;

interface ParsedQueryClassifier {

    /**
     * @param ParsedQuery $query
     * @return string[]
     */
    public function classify( ParsedQuery $query );

    /**
     * @return string[]
     */
    public function classes();
}