public function setText($message) {
        if (empty($message)) {
            throw new \InvalidArgumentException('Message cannot be empty');
        }

        $this->message->setText($message);
        return $this;
    }
public function setText($message) {
        if (empty($message)) {
            throw new \InvalidArgumentException('Message cannot be empty');
        }

        $this->message->setText($message);
        return $this;
    }
public function setText ( $ message ) { if ( empty ( $ message ) ) { throw new \ InvalidArgumentException ( 'Message cannot be empty' ) ; } $ this -> message -> setText ( $ message ) ; return $ this ; }
Sets message content
@param string $message
@return SmsSender
@throws \InvalidArgumentException
Sets message content