jqh 4 years ago
parent
commit
8b22ba6678
1 changed files with 0 additions and 18 deletions
  1. 0 18
      src/Form/Field.php

+ 0 - 18
src/Form/Field.php

@@ -1228,17 +1228,6 @@ class Field implements Renderable
         });
     }
 
-    public function saveAsJoin(string $glue = ',')
-    {
-        return $this->saving(function ($value) use ($glue) {
-            if (! $value || is_scalar($value)) {
-                return $value;
-            }
-
-            return implode($glue, (array) $value);
-        });
-    }
-
     public function saveAsString()
     {
         return $this->saving(function ($value) {
@@ -1246,13 +1235,6 @@ class Field implements Renderable
         });
     }
 
-    public function saveAsInteger()
-    {
-        return $this->saving(function ($value) {
-            return (int) $value;
-        });
-    }
-
     /**
      * Collect assets required by this field.
      */