public function toDevice($device)
    {
        if (is_array($device)) {
            $this->devices = array_merge($device, $this->devices);

            return $this;
        }
        $this->devices[] = $device;

        return $this;
    }
public function toDevice($device)
    {
        if (is_array($device)) {
            $this->devices = array_merge($device, $this->devices);

            return $this;
        }
        $this->devices[] = $device;

        return $this;
    }
public function toDevice ( $ device ) { if ( is_array ( $ device ) ) { $ this -> devices = array_merge ( $ device , $ this -> devices ) ; return $ this ; } $ this -> devices [ ] = $ device ; return $ this ; }
Send the message to a specific device.

@param  array|string  $device
@return PushoverReceiver
Send the message to a specific device .