blob: e9e041e02f69a0ee61253669a948ddeb0d980024 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<?php
declare( strict_types = 1 );
namespace MediaWiki\Extension\Translate\TranslatorSandbox;
use User;
/*
* @author Niklas Laxström
* @license GPL-2.0-or-later
* @since 2020.11
*/
interface TranslationStashReader {
/**
* Gets all stashed translations for the given user.
*
* @return StashedTranslation[]
*/
public function getTranslations( User $user ): array;
}
class_alias( TranslationStashReader::class, '\MediaWiki\Extensions\Translate\TranslationStashReader' );
|