SimpleSoftwareIO\SMS\OutgoingMessage::isMMS PHP Method

isMMS() public method

Returns if a message is a MMS.Returns.
public isMMS ( ) : boolean
return boolean
    public function isMMS()
    {
        return $this->mms;
    }

Usage Example

Example #1
0
 /**
  * Builds the email address of a number.
  *
  * @param array $number The number and carrier to look up.
  * @return string
  */
 protected function buildEmail($number)
 {
     if (!$number['carrier']) {
         throw new \InvalidArgumentException('A carrier must be specified if using the E-Mail Driver.');
     }
     return $number['number'] . '@' . $this->lookupGateway($number['carrier'], $this->outgoingMessage->isMMS());
 }