SessionActor
class SessionActor implements ActorInterface (View source)
The actor of a web request: whoever the session says is logged in.
Methods
int|null
userId()
The acting user's id, null when nobody is authenticated
string|null
username()
The acting user's login name, null when nobody is authenticated
Details
__construct(SessionInterface $session)
No description
int|null
userId()
The acting user's id, null when nobody is authenticated
string|null
username()
The acting user's login name, null when nobody is authenticated