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
Mostrar archivo Open project: sulu/sulu Class Usage Examples

Protected Properties

Property Type Description
$context Sulu\Component\Websocket\ConnectionContext\ConnectionContextInterface

Public Methods

Method 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 method

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

all() public method

public all ( )

clear() public method

Clear all parameter.
public clear ( )

get() public method

public get ( $name )

getId() public method

public getId ( )

getQuery() public method

public getQuery ( )

getRequest() public method

public getRequest ( )

getSession() public method

public getSession ( )

getToken() public method

public getToken ( $firewall )

getUser() public method

public getUser ( $firewall )

has() public method

public has ( $name )

isValid() public method

public isValid ( )

set() public method

public set ( $name, $value )

Property Details

$context protected_oe property

protected ConnectionContextInterface,Sulu\Component\Websocket\ConnectionContext $context
return Sulu\Component\Websocket\ConnectionContext\ConnectionContextInterface