original_string: public function sendSMS($content, $phoneNumber, $from)
      {
          Piwik::checkUserIsNotAnonymous();
  
          $credential = $this->getSMSAPICredential();
          $SMSProvider = SMSProvider::factory($credential[MobileMessaging::PROVIDER_OPTION]);
          $SMSProvider->sendSMS(
              $credential[MobileMessaging::API_KEY_OPTION],
              $content,
              $phoneNumber,
              $from
          );
  
          $this->increaseCount(MobileMessaging::SMS_SENT_COUNT_OPTION, $phoneNumber);
  
          return true;
      }
code: public function sendSMS($content, $phoneNumber, $from)
      {
          Piwik::checkUserIsNotAnonymous();
  
          $credential = $this->getSMSAPICredential();
          $SMSProvider = SMSProvider::factory($credential[MobileMessaging::PROVIDER_OPTION]);
          $SMSProvider->sendSMS(
              $credential[MobileMessaging::API_KEY_OPTION],
              $content,
              $phoneNumber,
              $from
          );
  
          $this->increaseCount(MobileMessaging::SMS_SENT_COUNT_OPTION, $phoneNumber);
  
          return true;
      }
code_tokens: public function sendSMS ( $ content , $ phoneNumber , $ from ) { Piwik :: checkUserIsNotAnonymous ( ) ; $ credential = $ this -> getSMSAPICredential ( ) ; $ SMSProvider = SMSProvider :: factory ( $ credential [ MobileMessaging :: PROVIDER_OPTION ] ) ; $ SMSProvider -> sendSMS ( $ credential [ MobileMessaging :: API_KEY_OPTION ] , $ content , $ phoneNumber , $ from ) ; $ this -> increaseCount ( MobileMessaging :: SMS_SENT_COUNT_OPTION , $ phoneNumber ) ; return true ; }
docstring: send a SMS
  
  @param string $content
  @param string $phoneNumber
  @param string $from
  @return bool true
  @ignore
docstring_tokens: send a SMS