src/Text.php
public function supplant(array $map) {
		return new Text(str_replace(array_keys($map), array_values($map), $this->string), $this->encoding);
	}
public function supplant(array $map) {
		return new Text(str_replace(array_keys($map), array_values($map), $this->string), $this->encoding);
	}
public function supplant ( array $ map ) { return new Text ( str_replace ( array_keys ( $ map ) , array_values ( $ map ) , $ this -> string ) , $ this -> encoding ) ; }
Replaces all occurences of given replacement map. Keys will be replaced with its values.

@param array $map the replacements. Keys will be replaced with its value.
@return Text
Replaces all occurences of given replacement map . Keys will be replaced with its values .