Skip to content

Instantly share code, notes, and snippets.

@fhulufhelo
Created August 14, 2019 08:55
Show Gist options
  • Save fhulufhelo/13455ac2224040d9727b91d82f0411ce to your computer and use it in GitHub Desktop.
Save fhulufhelo/13455ac2224040d9727b91d82f0411ce to your computer and use it in GitHub Desktop.
<?php
// If we've already retrieved the user for the current request we can just
// return it back immediately. We do not want to fetch the user data on
// every call to this method because that would be tremendously slow.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment