/** * Creates a new Message instance. * * @return SimpleSoftwareIO\SMS\Message */ protected function createOutgoingMessage() { $message = new OutgoingMessage($this->container['view']); //If a from address is set, pass it along to the messasge class. if (isset($this->from)) { $message->from($this->from); } return $message; }