Translate extension for MediaWiki
 
Loading...
Searching...
No Matches
TranslationStashWriter.php
1<?php
2declare( strict_types = 1 );
3
4namespace MediaWiki\Extension\Translate\TranslatorSandbox;
5
6use User;
7
13 public function addTranslation( StashedTranslation $item ): void;
14
16 public function deleteTranslations( User $user ): void;
17}
Value object for stashed translation which you can construct.
addTranslation(StashedTranslation $item)
Adds a new translation to the stash.
deleteTranslations(User $user)
Delete all stashed translations for the given user.