PHP Class Flarum\Core\Guest

Inheritance: extends User
Afficher le fichier Open project: flarum/core

Méthodes publiques

Свойство Type Description
$id integer Override the ID of this user, as a guest does not have an ID.

Méthodes publiques

Méthode Description
getGroupsAttribute ( ) : Group Get the guest's group, containing only the 'guests' group model.
isGuest ( )

Method Details

getGroupsAttribute() public méthode

Get the guest's group, containing only the 'guests' group model.
public getGroupsAttribute ( ) : Group
Résultat Group

isGuest() public méthode

public isGuest ( )

Property Details

$id public_oe property

Override the ID of this user, as a guest does not have an ID.
public int $id
Résultat integer