Quellcode durchsuchen

added trim for string

develop
Robin Thoni vor 10 Jahren
Ursprung
Commit
24fde00ee5
1 geänderte Dateien mit 5 neuen und 0 gelöschten Zeilen
  1. 5
    0
      src/Utils/Dbo/LuStringDbo.php

+ 5
- 0
src/Utils/Dbo/LuStringDbo.php Datei anzeigen

82
             throw new LuDboConstraintException("String length must be smaller or equal to ${max}");
82
             throw new LuDboConstraintException("String length must be smaller or equal to ${max}");
83
         }
83
         }
84
     }
84
     }
85
+    
86
+    public function trim()
87
+    {
88
+        $this->_value = trim($this->_value);
89
+    }
85
 }
90
 }

Laden…
Abbrechen
Speichern