You are here

public function InMemoryConfig::notify in Rocket.Chat 8.2

Same name and namespace in other branches
  1. 8 modules/rocket_chat_api/src/RocketChat/InMemoryConfig.php \Drupal\rocket_chat_api\RocketChat\InMemoryConfig::notify()

Notify the backend.

Parameters

string $message: Message to report back.

string $type: Type or Level of the Message.

Return value

mixed Result of notify on backend.

Overrides RocketChatConfigInterface::notify

File

modules/rocket_chat_api/src/RocketChat/InMemoryConfig.php, line 154

Class

InMemoryConfig
Class InMemoryConfig keeps the config in memory.

Namespace

Drupal\rocket_chat_api\RocketChat

Code

public function notify($message, $type) {
  return $this->superConfig
    ->notify($message, $type);
}