public function transmission(Message $message)
    {
        if (!$this->pusher) {
            return false;
        }

        $sender = $message->sender->toArray();
        $messageArray = $message->toArray();
        $messageArray['sender'] = $sender;
        $this->dispatch(new Webcast($messageArray));
    }
public function transmission(Message $message)
    {
        if (!$this->pusher) {
            return false;
        }

        $sender = $message->sender->toArray();
        $messageArray = $message->toArray();
        $messageArray['sender'] = $sender;
        $this->dispatch(new Webcast($messageArray));
    }
public function transmission ( Message $ message ) { if ( ! $ this -> pusher ) { return false ; } $ sender = $ message -> sender -> toArray ( ) ; $ messageArray = $ message -> toArray ( ) ; $ messageArray [ 'sender' ] = $ sender ; $ this -> dispatch ( new Webcast ( $ messageArray ) ) ; }
Dispatch the job to the queue.

@param \Nahid\Talk\Messages\Message $message
Dispatch the job to the queue .