public function htmlEscape($data, $allowedTags = null) { $str = (string) $data; return parent::htmlEscape($data, $allowedTags); }