Laravel - Session - Retrieving All Session Data

If you would like to retrieve all the data in the session, you may use the all method:

    
    $data = $request->session()->all();