Implemented subscription logic
This commit is contained in:
10
src/Broker/SubscriberInterface.php
Normal file
10
src/Broker/SubscriberInterface.php
Normal file
@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace NoccyLabs\Mercureact\Broker;
|
||||
|
||||
interface SubscriberInterface
|
||||
{
|
||||
public function deliver(Message $message): void;
|
||||
|
||||
public function isAuthorized(string $topics): bool;
|
||||
}
|
Reference in New Issue
Block a user