Created
April 25, 2019 08:29
-
-
Save khrlimam/a7a5cd98be459875d81f0e3bda5388b7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Retrieve a user by their unique identifier. | |
* | |
* @param mixed $identifier | |
* @return Authenticatable|null | |
*/ | |
public function retrieveById($identifier) | |
{ | |
return session($identifier, null); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment