title: How to send parameters to queues?
body: <p>Please consider the following job:</p>
  
  <pre><code>&lt;?php
  
  namespace App\Jobs;
  
  use Illuminate\Contracts\Bus\SelfHandling;
  use Illuminate\Contracts\Queue\ShouldQueue;
  use Illuminate\Queue\InteractsWithQueue;
  use Illuminate\Queue\SerializesModels;
  
  class ImportUsers extends Job implements SelfHandling, ShouldQueue
  {
      use InteractsWithQueue, SerializesModels;
  
      public function __construct($number)
      {
          $this-&gt;number=$number;
      }
  
      public function handle()
      {
          dd($this-&gt;number);
          return;
      }
  }
  </code></pre>
  
  <p>Dispatching this job using a <code>sync</code> queue <code>$this-&gt;dispatch(new \App\Jobs\ImportUsers(5));</code> throw this exception: <code>Undefined property: App\Jobs\ImportUsers::$number</code>. This really seems odd for me. Why the handle method can not access class properties?</p>