for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace NotificationChannels\Jusibe;
class JusibeMessage
{
/**
* The message content.
*
* @var string
*/
public $content;
* The phone number the message should be sent from.
public $from;
* Create a new message instance.
* @param string $content
* @return void
@return
Adding a @return annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.
Please refer to the PHP core documentation on constructors.
public function __construct($content = '')
$this->content = $content;
}
* Set the message content.
* @return $this
public function content($content)
return $this;
* Set the phone number the message should be sent from.
* @param string $from
public function from($from)
$this->from = $from;
Adding a
@return
annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.