Bläddra i källkod

added trim for string

develop
Robin Thoni 10 år sedan
förälder
incheckning
24fde00ee5
1 ändrade filer med 5 tillägg och 0 borttagningar
  1. 5
    0
      src/Utils/Dbo/LuStringDbo.php

+ 5
- 0
src/Utils/Dbo/LuStringDbo.php Visa fil

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
 }

Laddar…
Avbryt
Spara