namespace App\Http\Middleware;
class CustomerSession
{
public function handle($request, \Closure $next)
{
var_dump(\Cookie::get('customer-session-id'));
Cookie::queue('customer-session-id', 'test-value', 60 * 24 * 360);
return $next($request);
}
}
AddQueuedCookiesToResponse
работает?