You are here

public function StatusHeartPost::__construct in Heartbeat 8

StatusHeartPost constructor.

Parameters

$url:

File

modules/statusmessage/src/StatusHeartPost.php, line 36

Class

StatusHeartPost
@property \Drupal\statusmessage\MarkupGenerator generator @property message

Namespace

Drupal\statusmessage

Code

public function __construct($url, $message = NULL) {
  $this->url = $url;
  $this->message = $message;
  $this->generator = new MarkupGenerator();
}