protected function broadcastEvent($event)
    {
        $connection = ($event instanceof ShouldBroadcastNowInterface) ? 'sync' : null;

        $queue = method_exists($event, 'onQueue') ? $event->onQueue() : null;

        $this->resolveQueue()->connection($connection)->pushOn($queue, 'Nova\Broadcasting\BroadcastEvent', array(
            'event' => serialize(clone $event),
        ));
    }
protected function broadcastEvent($event)
    {
        $connection = ($event instanceof ShouldBroadcastNowInterface) ? 'sync' : null;

        $queue = method_exists($event, 'onQueue') ? $event->onQueue() : null;

        $this->resolveQueue()->connection($connection)->pushOn($queue, 'Nova\Broadcasting\BroadcastEvent', array(
            'event' => serialize(clone $event),
        ));
    }
protected function broadcastEvent ( $ event ) { $ connection = ( $ event instanceof ShouldBroadcastNowInterface ) ? 'sync' : null ; $ queue = method_exists ( $ event , 'onQueue' ) ? $ event -> onQueue ( ) : null ; $ this -> resolveQueue ( ) -> connection ( $ connection ) -> pushOn ( $ queue , 'Nova\Broadcasting\BroadcastEvent' , array ( 'event' => serialize ( clone $ event ) , ) ) ; }
Broadcast the given event class.

@param  \Nova\Broadcasting\ShouldBroadcastInterface  $event
@return void
Broadcast the given event class .