protected function clear($value) { if (!empty($value)) { $value = trim($value, "/ \t\n\r\v"); } return $value; }