protected function broadcast()
    {
        if (function_exists('broadcast')) {
            broadcast(new NotificationPushed($this->push));
        } elseif (function_exists('event')) {
            event(new NotificationPushed($this->push));
        }
    }
protected function broadcast()
    {
        if (function_exists('broadcast')) {
            broadcast(new NotificationPushed($this->push));
        } elseif (function_exists('event')) {
            event(new NotificationPushed($this->push));
        }
    }
protected function broadcast ( ) { if ( function_exists ( 'broadcast' ) ) { broadcast ( new NotificationPushed ( $ this -> push ) ) ; } elseif ( function_exists ( 'event' ) ) { event ( new NotificationPushed ( $ this -> push ) ) ; } }
BroadCast NotificationPushed event
BroadCast NotificationPushed event