title: Laravel 5.4 - Cookie Queue
body: <p>I'm using Laravel 5.4 and I wrote something like:</p>
  
  <pre><code>     Cookie::queue(
          'refresh_token',
          $data-&gt;refresh_token,
          864000, // 10 days
          null,
          null,
          false,
          true // HttpOnly
      );
  
      return response('hello world');
  </code></pre>
  
  <p>The returned response doesn't contain the refresh_token cookie while <code>return response('hello world')-&gt;withCookie(...)</code> does.</p>
  
  <p>The Laravel 5.4 documentation doesn't anymore state queueing cookie as 5.0 doc does.
  Does it mean that the functionality has been removed in version 5.4 or did I make a mistake in my code?</p>
  
  <p>For sake of completeness, I'm using Dingo API package and the response is crafted it.</p>
  
  <p>Thank you for your help.</p>