PHP Класс 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.
Наследование: implements Sulu\Component\Websocket\ConnectionContext\ConnectionContextInterface
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$context Sulu\Component\Websocket\ConnectionContext\ConnectionContextInterface

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

Метод Описание
__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 )

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

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

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

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

public all ( )

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

Clear all parameter.
public clear ( )

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

public get ( $name )

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

public getId ( )

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

public getQuery ( )

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

public getRequest ( )

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

public getSession ( )

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

public getToken ( $firewall )

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

public getUser ( $firewall )

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

public has ( $name )

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

public isValid ( )

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

public set ( $name, $value )

Описание свойств

$context защищенное свойство

protected ConnectionContextInterface,Sulu\Component\Websocket\ConnectionContext $context
Результат Sulu\Component\Websocket\ConnectionContext\ConnectionContextInterface