from() public méthode

Sets the numbers messages will be sent from.
public from ( string $number )
$number string Holds the number that messages
Exemple #1
0
 /**
  * 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;
 }