public function sanitize($input) { return is_string($input) ? filter_var($input, FILTER_SANITIZE_STRING, FILTER_FLAG_NO_ENCODE_QUOTES) : $input; }