PHP Class Sulu\Component\Websocket\MessageDispatcher\MessageHandlerContext

It holds detail information about the upgrade request of the websocket connection, the handler name and the user can put his own session variables into a parameter bag.
Inheritance: implements Sulu\Component\Websocket\ConnectionContext\ConnectionContextInterface
Afficher le fichier Open project: sulu/sulu Class Usage Examples

Protected Properties

Свойство Type Description
$context Sulu\Component\Websocket\ConnectionContext\ConnectionContextInterface

Méthodes publiques

Méthode Description
__construct ( Sulu\Component\Websocket\ConnectionContext\ConnectionContextInterface $context, $handlerName )
all ( )
clear ( ) Clear all parameter.
get ( $name )
getId ( )
getQuery ( )
getRequest ( )
getSession ( )
getToken ( $firewall )
getUser ( $firewall )
has ( $name )
isValid ( )
set ( $name, $value )

Method Details

__construct() public méthode

public __construct ( Sulu\Component\Websocket\ConnectionContext\ConnectionContextInterface $context, $handlerName )
$context Sulu\Component\Websocket\ConnectionContext\ConnectionContextInterface

all() public méthode

public all ( )

clear() public méthode

Clear all parameter.
public clear ( )

get() public méthode

public get ( $name )

getId() public méthode

public getId ( )

getQuery() public méthode

public getQuery ( )

getRequest() public méthode

public getRequest ( )

getSession() public méthode

public getSession ( )

getToken() public méthode

public getToken ( $firewall )

getUser() public méthode

public getUser ( $firewall )

has() public méthode

public has ( $name )

isValid() public méthode

public isValid ( )

set() public méthode

public set ( $name, $value )

Property Details

$context protected_oe property

protected ConnectionContextInterface,Sulu\Component\Websocket\ConnectionContext $context
Résultat Sulu\Component\Websocket\ConnectionContext\ConnectionContextInterface