public function setReplacement(array $replacement) { $this->replacements = $this->replacements + $replacement; return $this; }