public function setValue($newValue) { if ($newValue == '::1') { $newValue = '127.0.0.1'; } parent::setValue($newValue); }
public function setValue($newValue) { parent::setValue(boolval($newValue)); }