public function sendTo($data, $topic = '/topics/global', array $options = [])
    {
        $options['to'] = $topic;

        return $this->send($data, [], $options);
    }
public function sendTo($data, $topic = '/topics/global', array $options = [])
    {
        $options['to'] = $topic;

        return $this->send($data, [], $options);
    }
public function sendTo ( $ data , $ topic = '/topics/global' , array $ options = [ ] ) { $ options [ 'to' ] = $ topic ; return $ this -> send ( $ data , [ ] , $ options ) ; }
Sends the data to the given registration token, notification key, or topic via the GCM server.

@param mixed  $data
@param string $topic   The value must be a registration token, notification key, or topic. Default global topic.
@param array  $options to add along with message, such as collapse_key, time_to_live, delay_while_idle

@return bool
Sends the data to the given registration token notification key or topic via the GCM server .