for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Kerox\Messenger\Callback;
abstract class AbstractCallbackEvent
{
/**
* @var string
*/
protected $senderId;
protected $recipientId;
* AbstractCallbackEvent constructor.
*
* @param string $senderId
* @param string $recipientId
public function __construct(string $senderId, string $recipientId)
$this->senderId = $senderId;
$this->recipientId = $recipientId;
}
* @return string
public function getSenderId(): string
return $this->senderId;
public function getRecipientId(): string
return $this->recipientId;