public function sendSms($to, $content = null, $tempId = null, array $data = [], array $params = [])
    {
        $this->reset();
        $this->params($params, true);
        $to = $this->formatMobile(Util::formatMobiles($to));

        if ($tempId && $this instanceof TemplateSms) {
            $this->sendTemplateSms($to, $tempId, $data);
        } elseif ($content && $this instanceof ContentSms) {
            $this->sendContentSms($to, $content);
        }
    }
public function sendSms($to, $content = null, $tempId = null, array $data = [], array $params = [])
    {
        $this->reset();
        $this->params($params, true);
        $to = $this->formatMobile(Util::formatMobiles($to));

        if ($tempId && $this instanceof TemplateSms) {
            $this->sendTemplateSms($to, $tempId, $data);
        } elseif ($content && $this instanceof ContentSms) {
            $this->sendContentSms($to, $content);
        }
    }
public function sendSms ( $ to , $ content = null , $ tempId = null , array $ data = [ ] , array $ params = [ ] ) { $ this -> reset ( ) ; $ this -> params ( $ params , true ) ; $ to = $ this -> formatMobile ( Util :: formatMobiles ( $ to ) ) ; if ( $ tempId && $ this instanceof TemplateSms ) { $ this -> sendTemplateSms ( $ to , $ tempId , $ data ) ; } elseif ( $ content && $ this instanceof ContentSms ) { $ this -> sendContentSms ( $ to , $ content ) ; } }
SMS send process.

@param       $to
@param       $content
@param       $tempId
@param array $data
@param array $params
SMS send process .