PHP Interface Pantheon\Terminus\Session\SessionAwareInterface

Afficher le fichier Open project: pantheon-systems/terminus

Méthodes publiques

Méthode Description
getUser ( ) : User Get the user model of the logged in user.
session ( ) : Session Get the current user's session object.
setSession ( Session $session ) * Inject a session object.

Method Details

getUser() public méthode

Get the user model of the logged in user.
public getUser ( ) : User
Résultat Pantheon\Terminus\Models\User

session() public méthode

Get the current user's session object.
public session ( ) : Session
Résultat Session

setSession() public méthode

* Inject a session object.
public setSession ( Session $session )
$session Session