Symfony\Component\Security\Core\Authentication\Token\TokenInterface::getUser
Returns a user representation.
Signature
public function getUser()
Returns
- mixed
- either returns an object which implements __toString(), or
a primitive string is returned.