-
Notifications
You must be signed in to change notification settings - Fork 31
Thread API
Romain Monteil edited this page Jan 11, 2018
·
4 revisions
use Kerox\Messenger\Model\ThreadControl;
$passThreadControl = ThreadControl::create(1234567890, 1234567890);
$passThreadControl->setMetadata('additional content that the caller wants to set');
$messenger->thread()->pass($passThreadControl);
use Kerox\Messenger\Model\ThreadControl;
$takeThreadControl = ThreadControl::create(1234567890);
$takeThreadControl->setMetadata('additional content that the caller wants to set');
$messenger->thread()->take($takeThreadControl);