2declare( strict_types = 1 );
4namespace MediaWiki\Extension\Translate\PageTranslation;
14 private string $definition;
16 private string $value;
18 public function __construct(
string $definition,
string $name,
string $value ) {
19 $this->definition = $definition;
21 $this->value = $value;
24 public function getDefinition():
string {
25 return $this->definition;
28 public function getName():
string {
32 public function getValue():
string {
This class represents one translation variable in a translation unit.