PHP Класс Sulu\Bundle\WebsocketBundle\Controller\FallbackController

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( Sulu\Component\Websocket\AppManagerInterface $appManager )
send ( string $appName, Request $request ) : Symfony\Component\HttpFoundation\JsonResponse Redirect message to app and returns value as json response.

Описание методов

__construct() публичный Метод

public __construct ( Sulu\Component\Websocket\AppManagerInterface $appManager )
$appManager Sulu\Component\Websocket\AppManagerInterface

send() публичный Метод

Redirect message to app and returns value as json response.
public send ( string $appName, Request $request ) : Symfony\Component\HttpFoundation\JsonResponse
$appName string
$request Symfony\Component\HttpFoundation\Request
Результат Symfony\Component\HttpFoundation\JsonResponse