getUser()
getUser(mixed $key) : \Thelia\Core\Security\UserProvider\a
Returns a UserInterface instance
Parameters
| mixed | $key | the unique user key (username, email address, etc.) |
Returns
\Thelia\Core\Security\UserProvider\a —UserInterface instance, or null if none was found.