'' * 'description'='信息' * ] */ public $load; /** * GitPushedEvent constructor. * @param $email * @param $load */ public function __construct($email, $load) { $this->email = $email; $this->load = $load; } /** * Get the channels the event should broadcast on. * * @return \Illuminate\Broadcasting\Channel|array */ public function broadcastOn() { return new PrivateChannel('channel-name'); } }