芝麻web文件管理V1.00
编辑当前文件:/home/rejoandoctor/public_html/vendor/simplesoftwareio/simple-qrcode/src/DataTypes/SMS.php
setProperties($arguments); } /** * Returns the correct QrCode format. * * @return string */ public function __toString() { return $this->buildSMSString(); } /** * Sets the phone number and message for a sms message. * * @param array $arguments */ protected function setProperties(array $arguments) { if (isset($arguments[0])) { $this->phoneNumber = $arguments[0]; } if (isset($arguments[1])) { $this->message = $arguments[1]; } } /** * Builds a SMS string. * * @return string */ protected function buildSMSString() { $sms = $this->prefix.$this->phoneNumber; if (isset($this->message)) { $sms .= $this->separator.$this->message; } return $sms; } }