PHP Class Sulu\Bundle\WebsocketBundle\Controller\FallbackController

Show file Open project: sulu/sulu Class Usage Examples

Public Methods

Method Description
__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.

Method Details

__construct() public method

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

send() public method

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
return Symfony\Component\HttpFoundation\JsonResponse