Метод |
Описание |
|
getChannelPrefix ( ) : string |
Return the PubSub messaging channel prefix used in the underlying database driver. |
|
isPubSubSupported ( ) : boolean |
Confirm that the driver supports Pub/Sub messaging. |
|
listenToPubSub ( callable $callback ) : void |
Start listening to subscribed channels of the database (if PubSub is supported) |
|
publishMessage ( string $channel, string $message ) : integer |
Publishes a message to the configured channel. Channel and Message length is limited based on the driver used. |
|
setChannelPrefix ( string $prefix ) : Bravo3\Orm\Drivers\PubSubDriverInterface |
Sets the PubSub messaging channel prefix used in the underlying database driver. |
|