PHP 클래스 Overtrue\LaravelWechat\Events\WeChatUserAuthorized

상속: use trait Illuminate\Queue\SerializesModels
파일 보기 프로젝트 열기: overtrue/laravel-wechat

공개 프로퍼티들

프로퍼티 타입 설명
$isNewSession
$user

공개 메소드들

메소드 설명
__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.

메소드 상세

__construct() 공개 메소드

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

broadcastOn() 공개 메소드

Get the channels the event should be broadcast on.
public broadcastOn ( ) : array
리턴 array

getUser() 공개 메소드

Retrieve the authorized user.
public getUser ( ) : Overtrue\Socialite\User
리턴 Overtrue\Socialite\User

isNewSession() 공개 메소드

Check the user session is first created.
public isNewSession ( ) : boolean
리턴 boolean

프로퍼티 상세

$isNewSession 공개적으로 프로퍼티

public $isNewSession

$user 공개적으로 프로퍼티

public $user