Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2
3namespace MediaWiki\Extension\CommunityConfiguration\Schema;
4
5use InvalidArgumentException;
6
7/**
8 * A schema version manager is able to construct a SchemaReader for any version of a schema
9 */
10interface SchemaVersionManager {
11
12    /**
13     * Get a schema reader
14     *
15     * @param string $version
16     * @throws InvalidArgumentException when $version is invalid
17     * @return SchemaReader
18     */
19    public function getVersionForSchema( string $version ): SchemaReader;
20}