public function broadcastWith()
    {
        return array_merge($this->data, array(
            'id'   => $this->notification->id,
            'type' => get_class($this->notification),
        ));
    }
public function broadcastWith()
    {
        return array_merge($this->data, array(
            'id'   => $this->notification->id,
            'type' => get_class($this->notification),
        ));
    }
public function broadcastWith ( ) { return array_merge ( $ this -> data , array ( 'id' => $ this -> notification -> id , 'type' => get_class ( $ this -> notification ) , ) ) ; }
Get the data that should be sent with the broadcasted event.

@return array
Get the data that should be sent with the broadcasted event .