PHP Class Sulu\Bundle\WebsocketBundle\Controller\FallbackController

Afficher le fichier Open project: sulu/sulu Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

send() public méthode

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
Résultat Symfony\Component\HttpFoundation\JsonResponse