title: How to fire subsequent job in Laravel 5.2
body: <p>I would like to push another job onto the queue after my first one has successfully executed. From my ShopController.php I fire:</p>
  
  <pre><code>$this-&gt;dispatch(new ItemPurchased($myVariables));
  </code></pre>
  
  <p>In ItemPurchased.php:</p>
  
  <pre><code>public function handle()
  {
    // some code that charges a user's credit card
  }
  </code></pre>
  
  <p>How do i fire a subsequent job upon success of ItemPurchased.php?</p>
  
  <p>From the Laravel Documentation, you would do something like this in a ServiceProvider:</p>
  
  <pre><code>{
      Queue::after(function (JobProcessed $event) {
          // $event-&gt;connectionName
          // $event-&gt;job
          // $event-&gt;data
      });
  }
  </code></pre>
  
  <p>But how do i specify, after ItemPurchase.php was successfuly, then dispatch another job? There is a <code>failed()</code> method for code to run when jobs fail. Is there a <code>success()</code> method that hasn't been mentioned before?</p>