for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Botonomous;
class Event extends AbstractBaseSlack
{
private $type;
private $user;
private $text;
private $timestamp;
private $eventTimestamp;
private $channel;
private $botId;
/**
* Event constructor.
*
* @param $type
*/
public function __construct($type)
$this->setType($type);
}
* @return string
public function getType()
return $this->type;
* @param string $type
public function setType($type)
$this->type = $type;
public function getUser()
return $this->user;
* @param string $user
public function setUser($user)
$this->user = $user;
public function getText()
return $this->text;
* @param string $text
public function setText($text)
$this->text = $text;
public function getTimestamp()
return $this->timestamp;
* @param string $timestamp
public function setTimestamp($timestamp)
$this->timestamp = $timestamp;
public function getEventTimestamp()
return $this->eventTimestamp;
* @param string $eventTimestamp
public function setEventTimestamp($eventTimestamp)
$this->eventTimestamp = $eventTimestamp;
public function getChannel()
return $this->channel;
* @param string $channel
public function setChannel($channel)
$this->channel = $channel;
public function getBotId()
return $this->botId;
* @param string $botId
public function setBotId($botId)
$this->botId = $botId;