Skip to content

Commit

Permalink
Fix Message attributes setters (fluent)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregoriohc committed Mar 16, 2018
1 parent 581fb31 commit 6164d78
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/TwilioMmsMessage.php
Expand Up @@ -15,9 +15,12 @@ class TwilioMmsMessage extends TwilioSmsMessage
* Set the alphanumeric sender.
*
* @param $url
* @return $this
*/
public function mediaUrl($url)
{
$this->mediaUrl = $url;

return $this;
}
}
3 changes: 3 additions & 0 deletions src/TwilioSmsMessage.php
Expand Up @@ -29,9 +29,12 @@ public function getFrom()
* Set the alphanumeric sender.
*
* @param $sender
* @return $this
*/
public function sender($sender)
{
$this->alphaNumSender = $sender;

return $this;
}
}

0 comments on commit 6164d78

Please sign in to comment.