src/Fluent.php
public function overwrite($callback)
    {
        $this->data = $callback instanceof \Closure
            ? $callback($this->data)
            : $callback;

        return $this;
    }
public function overwrite($callback)
    {
        $this->data = $callback instanceof \Closure
            ? $callback($this->data)
            : $callback;

        return $this;
    }
Overwrite collection

@param mixed $callback

@return Fluent