title: How to override loggedOut of the AuthenticatesUsers vendor file without directly editing it in Laravel 5.6?
body: <p>I understand that we should not directly edit the vendor files in Laravel, however I wish to know how I can override the loggedOut function of the trait AuthenticatesUsers so that I can perform some action when the user logs out.</p>
  
  <p>Please could someone show me with some code snippet how this can be achieved.</p>
  
  <p>Thank You </p>