public function autoFormat($value)
    {
        // email validation
        if ((new EmailValidator())->validate($value)) {
            return $this->asEmail($value);
        }
        
        // url validator
        if ((new UrlValidator())->validate($value)) {
            return $this->asUrl($value);
        }
        
        // boolean type
        if (is_bool($value)) {
            return $this->asBoolean($value);
        }
        
        return $value;
    }