Translate extension for MediaWiki
 
Loading...
Searching...
No Matches
MediaWiki\Extension\Translate\TranslatorSandbox\StashedTranslation Class Reference

Value object for stashed translation which you can construct. More...

Public Member Functions

 __construct (private readonly User $user, private readonly Title $title, private readonly string $value, private readonly ?array $metadata=null,)
 
 getUser ()
 
 getTitle ()
 
 getValue ()
 
 getMetadata ()
 

Detailed Description

Value object for stashed translation which you can construct.

Author
Niklas Laxström @license GPL-2.0-or-later
Since
2013.06 (namespaced in 2020.11)

Definition at line 16 of file StashedTranslation.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Extension\Translate\TranslatorSandbox\StashedTranslation::__construct ( private readonly User $user,
private readonly Title $title,
private readonly string $value,
private readonly ?array $metadata = null )

Definition at line 18 of file StashedTranslation.php.

Member Function Documentation

◆ getMetadata()

MediaWiki\Extension\Translate\TranslatorSandbox\StashedTranslation::getMetadata ( )

Definition at line 38 of file StashedTranslation.php.

◆ getTitle()

MediaWiki\Extension\Translate\TranslatorSandbox\StashedTranslation::getTitle ( )

Definition at line 30 of file StashedTranslation.php.

◆ getUser()

MediaWiki\Extension\Translate\TranslatorSandbox\StashedTranslation::getUser ( )

Definition at line 26 of file StashedTranslation.php.

◆ getValue()

MediaWiki\Extension\Translate\TranslatorSandbox\StashedTranslation::getValue ( )

Definition at line 34 of file StashedTranslation.php.


The documentation for this class was generated from the following file: