Page MenuHomeWickedGov Phorge

TranslationStashWriter.php
No OneTemporary

Size
504 B
Referenced Files
None
Subscribers
None

TranslationStashWriter.php

<?php
declare( strict_types = 1 );
namespace MediaWiki\Extension\Translate\TranslatorSandbox;
use MediaWiki\User\User;
interface TranslationStashWriter {
/**
* Adds a new translation to the stash. If the same key already exists, the
* previous translation and metadata will be replaced with the new one.
*/
public function addTranslation( StashedTranslation $item ): void;
/** Delete all stashed translations for the given user. */
public function deleteTranslations( User $user ): void;
}

File Metadata

Mime Type
text/x-php
Expires
Oct 4 2026, 03:47 (4 w, 6 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
39/b5/f646044aa97dcf49e13544b0b635
Default Alt Text
TranslationStashWriter.php (504 B)

Event Timeline