job class is not accepting the argument send from controller in laravel
<p>Error: Missing argument 1 for App\Jobs\ReorderDatabase::handle() is showing,
 I need to pass the variable from controller and i need not to use the model,
 so How I should proceed.</p>

<p>My controller function code is here</p>

<pre><code>    public function postData(Request $request)
    {

    $updateRecordsArray = Input::get('order');

    $this-&gt;dispatch(new ReorderDatabase($updateRecordsArray));

    return Response::json('Okay');
    }
</code></pre>

<p>My job RecorderDatabase job code is</p>

<pre><code>&lt;?php namespace App\Jobs;
 use App\Http\Requests\Request;
 use App\Jobs\Job;
 use Illuminate\Queue\SerializesModels;
 use Illuminate\Queue\InteractsWithQueue;
 use Illuminate\Contracts\Queue\ShouldQueue;
 use Illuminate\Support\Facades\DB;
 use Illuminate\Support\Facades\Log;
 use App\Http\Controllers\DragDropController;

 /**
 * Class ReorderDatabase
 * @package App\Jobs
 */
class ReorderDatabase extends Job implements ShouldQueue
{
use InteractsWithQueue, SerializesModels;

/**
 * Create a new job instance.
 *
 * @return void
 */
public function __construct()
{
}

/**
 * Execute the job.
 *
 * @return void
 */
public function handle($updateRecordsArray)
{
    $i = 1;

    foreach ($updateRecordsArray as $recordID) {


        DB::table('venues')-&gt;where('id', '=', $recordID)-&gt;update(array('priority' =&gt; $i));

        $i++;
     }
    }
  }
</code></pre>