51 $this->data[$from] = $to;
58 $this->data = $data + $this->data;
62 $this->data = $other->data + $this->data;
69 unset( $this->data[$from] );
76 foreach ( $data as $from => $to ) {
77 $this->removePair( $from );
86 return strtr( $subject, $this->data );
91class_alias( ReplacementArray::class,
'ReplacementArray' );
93class_alias( ReplacementArray::class,
'MediaWiki\\Language\\ReplacementArray' );