/** * Sets the option tag's value * @param string $value */ public function setValue($value) { $str = new \Variable\String(is_numeric($value) ? (string) $value : $value, 'value'); $this->value = $str->getStripped(); }