public function broadcastType()
    {
        return method_exists($this->notification, 'broadcastType')
                    ? $this->notification->broadcastType()
                    : get_class($this->notification);
    }
public function broadcastType()
    {
        return method_exists($this->notification, 'broadcastType')
                    ? $this->notification->broadcastType()
                    : get_class($this->notification);
    }
public function broadcastType ( ) { return method_exists ( $ this -> notification , 'broadcastType' ) ? $ this -> notification -> broadcastType ( ) : get_class ( $ this -> notification ) ; }
Get the type of the notification being broadcast.

@return string
Get the type of the notification being broadcast .