PHP Class Sulu\Component\Websocket\ConnectionContext\ConnectionContext

Inheritance: implements Sulu\Component\Websocket\ConnectionContext\ConnectionContextInterface
ファイルを表示 Open project: sulu/sulu Class Usage Examples

Public Methods

Method Description
__construct ( Ratchet\ConnectionInterface $conn )
all ( ) : array Returns all parameters.
clear ( )
get ( $name )
getId ( )
getIdFromConnection ( Ratchet\ConnectionInterface $conn ) : string Return id of connection context for connection.
getParameters ( )
getQuery ( )
getRequest ( )
getSession ( )
getToken ( $firewall )
getUser ( $firewall )
has ( $name )
isValid ( )
set ( $name, $value )

Method Details

__construct() public method

public __construct ( Ratchet\ConnectionInterface $conn )
$conn Ratchet\ConnectionInterface

all() public method

Returns all parameters.
public all ( ) : array
return array

clear() public method

public clear ( )

get() public method

public get ( $name )

getId() public method

public getId ( )

getIdFromConnection() public static method

Return id of connection context for connection.
public static getIdFromConnection ( Ratchet\ConnectionInterface $conn ) : string
$conn Ratchet\ConnectionInterface
return string

getParameters() public method

public getParameters ( )

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 )