summaryrefslogtreecommitdiff
blob: 9ad6a0f6a90874fadc8c4d8f7339293019e14e94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?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;
}