We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aace692 commit acda499Copy full SHA for acda499
src/TwilioCallMessage.php
@@ -29,6 +29,16 @@ public function __construct($url = '')
29
$this->url = $url;
30
}
31
32
+ /**
33
+ * @param string $url
34
+ *
35
+ * @return static
36
+ */
37
+ public static function create($url = '')
38
+ {
39
+ return new static($url);
40
+ }
41
+
42
/**
43
* Set the message content.
44
*
src/TwilioSmsMessage.php
@@ -29,6 +29,16 @@ public function __construct($content = '')
$this->content = $content;
+ * @param string $content
+ public static function create($content = '')
+ return new static($content);
0 commit comments