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
파일 보기 프로젝트 열기: sulu/sulu 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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