00001 <?php 00014 class StashedTranslation { 00015 protected $user; 00016 protected $title; 00017 protected $value; 00018 protected $metadata; 00019 00020 public function __construct( User $user, Title $title, $value, array $metadata = null ) { 00021 $this->user = $user; 00022 $this->title = $title; 00023 $this->value = $value; 00024 $this->metadata = $metadata; 00025 } 00026 00028 public function getUser() { 00029 return $this->user; 00030 } 00031 00033 public function getTitle() { 00034 return $this->title; 00035 } 00036 00038 public function getValue() { 00039 return $this->value; 00040 } 00041 00043 public function getMetadata() { 00044 return $this->metadata; 00045 } 00046 }