rcrowe\Hippy\Transport\TransportInterface::setFrom PHP Method

setFrom() public method

Set who the message will be sent from.
public setFrom ( string $from ) : void
$from string Message will be sent by this user.
return void
    public function setFrom($from);

Usage Example

Example #1
0
 /**
  * Set who the message will be sent from.
  *
  * @param string $from Message will be sent by this user.
  * @return void
  */
 public function setFrom($from)
 {
     $this->transport->setFrom($from);
 }