for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Recca0120\Every8d;
class Every8dMessage
{
/**
* The message subject.
*
* @var string
*/
public $subject = null;
* The message content.
public $content;
* The message send time.
* @var \Carbon\Carbon|string
public $sendTime;
* Create a new message instance.
* @param string $content
public function __construct($content = '')
$this->content = $content;
}
* Set the message subject.
* @param string $subject
* @return $this
public function subject($subject)
$this->subject = $subject;
return $this;
public function content($content)
* Set the message send time.
* @param \Carbon\Carbon|string $sendTime
public function sendTime($sendTime)
$this->sendTime = $sendTime;
* @return static
public static function create($content)
return new static($content);