PHP Class Overtrue\LaravelWechat\Events\WeChatUserAuthorized

Inheritance: use trait Illuminate\Queue\SerializesModels
Afficher le fichier Open project: overtrue/laravel-wechat

Méthodes publiques

Свойство Type Description
$isNewSession
$user

Méthodes publiques

Méthode Description
__construct ( Overtrue\Socialite\User $user, boolean $isNewSession = false ) : void Create a new event instance.
broadcastOn ( ) : array Get the channels the event should be broadcast on.
getUser ( ) : Overtrue\Socialite\User Retrieve the authorized user.
isNewSession ( ) : boolean Check the user session is first created.

Method Details

__construct() public méthode

Create a new event instance.
public __construct ( Overtrue\Socialite\User $user, boolean $isNewSession = false ) : void
$user Overtrue\Socialite\User
$isNewSession boolean
Résultat void

broadcastOn() public méthode

Get the channels the event should be broadcast on.
public broadcastOn ( ) : array
Résultat array

getUser() public méthode

Retrieve the authorized user.
public getUser ( ) : Overtrue\Socialite\User
Résultat Overtrue\Socialite\User

isNewSession() public méthode

Check the user session is first created.
public isNewSession ( ) : boolean
Résultat boolean

Property Details

$isNewSession public_oe property

public $isNewSession

$user public_oe property

public $user