%PDF- %PDF-
Direktori : /proc/985914/root/www/varak.net/wiki.varak.net/extensions/Translate/stash/ |
Current File : //proc/985914/root/www/varak.net/wiki.varak.net/extensions/Translate/stash/StashedTranslation.php |
<?php /** * Value object for stashed translation. * * @file * @author Niklas Laxström * @license GPL-2.0-or-later */ /** * Value object for stashed translation which you can construct. * @since 2013.06 */ class StashedTranslation { protected $user; protected $title; protected $value; protected $metadata; public function __construct( User $user, Title $title, $value, array $metadata = null ) { $this->user = $user; $this->title = $title; $this->value = $value; $this->metadata = $metadata; } /** * @return User */ public function getUser() { return $this->user; } /** * @return Title */ public function getTitle() { return $this->title; } /** * @return string */ public function getValue() { return $this->value; } /** * @return array */ public function getMetadata() { return $this->metadata; } }