app/InteractsWithSparkHooks.php
public function callCustomUpdater($callback, Request $request, array $arguments = [])
    {
        if (is_string($callback)) {
            list($class, $method) = explode('@', $callback);

            $callback = [app($class), $method];
        }

        return call_user_func_array($callback, array_merge([$request], $arguments));
    }
public function callCustomUpdater($callback, Request $request, array $arguments = [])
    {
        if (is_string($callback)) {
            list($class, $method) = explode('@', $callback);

            $callback = [app($class), $method];
        }

        return call_user_func_array($callback, array_merge([$request], $arguments));
    }
Call a custom Spark updater callback.

@param  callable|string  $callback
@param  \Illuminate\Http\Request  $request
@param  array  $arguments
@return mixed