How to send message using controller same like sending message on view?
I want to send message (notifications) to connected clients whenever the I call `some_function` on `Test.php` controller.

I want this feature to be accessible on my `some_function` but I don't know to do it.
![1](https://user-images.githubusercontent.com/28618020/73589578-e449ef80-4512-11ea-993e-581d6f1888a9.png)

This is the `Test.php` controller
![2](https://user-images.githubusercontent.com/28618020/73589601-33902000-4513-11ea-9b81-6e2d8ec6d99f.PNG)

Thank you in advance. Please help.

