wikimedia/mediawiki-extensions-Wikibase

View on GitHub
repo/includes/Search/Fields/FieldDefinitions.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Wikibase\Repo\Search\Fields;

/**
 * This is a collection of field definitions.
 * This interface should be implemented by specific definition
 * classes which know which fields they deal with.
 *
 * @license GPL-2.0-or-later
 * @author Stas Malyshev
 */
interface FieldDefinitions {

    /**
     * Get the list of definitions
     * @return WikibaseIndexField[] key is field name, value is WikibaseIndexField
     */
    public function getFields();

}