value = str_replace(['$',','], '', $value); } public function getValue() { return str_replace(['$',','], '', $this->value); } public function __toString() { return (string)$this->getValue(); } }