|
@@ -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.
|
|
|
*/
|