8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 36e05e9 + 064062d commit 6de747eCopy full SHA for 6de747e
src/Symfony/Component/Security/Core/Authentication/Token/TokenInterface.php
@@ -47,8 +47,10 @@ public function getCredentials();
47
/**
48
* Returns a user representation.
49
*
50
- * @return mixed either returns an object which implements __toString(), or
51
- * a primitive string is returned.
+ * @return mixed Can be a UserInterface instance, an object implementing a __toString method,
+ * or the username as a regular string
52
+ *
53
+ * @see AbstractToken::setUser()
54
*/
55
public function getUser();
56
0 commit comments