blob: a327fb6bfc98bea4e176984f8967abe983619fb6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<?php
declare( strict_types = 1 );
namespace MediaWiki\Extension\Translate\TranslatorInterface\Insertable;
/**
* Interface for InsertablesSuggesters. Insertable is a string that usually does
* not need translation and is difficult to type manually.
* @author Niklas Laxström
* @license GPL-2.0-or-later
* @since 2020.12
*/
interface InsertablesSuggester {
/**
* Returns the insertables in the message text.
* @return Insertable[]
*/
public function getInsertables( string $text ): array;
}
class_alias( InsertablesSuggester::class, '\MediaWiki\Extensions\Translate\InsertablesSuggester' );
|