protected function validator($varInput)
    {
        if (is_array($varInput)) {
            $value = array();
            foreach ($varInput as $key => $input) {
                $value[$key] = parent::validator($input);
            }

            return $value;
        }

        return parent::validator(trim($varInput));
    }