for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace WSW\SiftScience\Events;
/**
* Class BaseEvent
*
* @package WSW\SiftScience\Events
* @author Ronaldo Matos Rodrigues <[email protected]>
*/
abstract class BaseEvent
{
* @var string
protected $type;
protected $apiKey;
protected $userId;
* @return string
public function getType()
return $this->type;
}
public function getApiKey()
return $this->apiKey;
* @param string $apiKey
* @return $this
public function setApiKey($apiKey)
$this->apiKey = $apiKey;
return $this;
public function getUserId()
return $this->userId;
* @param string $userId
public function setUserId($userId)
$this->userId = $userId;