PHP 클래스 App\Events\SongStartedPlaying

상속: extends App\Events\Event, use trait Illuminate\Queue\SerializesModels
파일 보기 프로젝트 열기: phanan/koel

공개 프로퍼티들

프로퍼티 타입 설명
$song app\models\Song The now playing song.
$user app\models\User The user listening.

공개 메소드들

메소드 설명
__construct ( Song $song, User $user ) Create a new event instance.
broadcastOn ( ) : array Get the channels the event should be broadcast on.

메소드 상세

__construct() 공개 메소드

Create a new event instance.
public __construct ( Song $song, User $user )
$song app\models\Song
$user app\models\User

broadcastOn() 공개 메소드

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

프로퍼티 상세

$song 공개적으로 프로퍼티

The now playing song.
public Song,App\Models $song
리턴 app\models\Song

$user 공개적으로 프로퍼티

The user listening.
public User,App\Models $user
리턴 app\models\User