2021-06-29 02:34:28 +12:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Appwrite\Messaging;
|
|
|
|
|
|
|
|
abstract class Adapter
|
|
|
|
{
|
2022-05-24 02:54:50 +12:00
|
|
|
abstract public function subscribe(string $projectId, mixed $identifier, array $roles, array $channels): void;
|
|
|
|
abstract public function unsubscribe(mixed $identifier): void;
|
|
|
|
abstract public static function send(string $projectId, array $payload, array $events, array $channels, array $roles, array $options): void;
|
2021-06-29 02:34:28 +12:00
|
|
|
}
|