You are here

public function HeartbeatStream::setClass in Heartbeat 8

Parameters

mixed $class:

Overrides HeartbeatStreamInterface::setClass

File

src/Entity/HeartbeatStream.php, line 107

Class

HeartbeatStream
Defines the Heartbeat stream entity.

Namespace

Drupal\heartbeat\Entity

Code

public function setClass($class) {
  $this
    ->set('class', $class);
}