PHP 인터페이스 Sulu\Component\Websocket\ConnectionContext\ConnectionContextInterface

파일 보기 프로젝트 열기: sulu/sulu 0 사용 예제들

공개 메소드들

메소드 설명
all ( ) : array Returns all parameters.
clear ( ) Clear all parameter.
get ( string $name ) : mixed Get parameter with given name.
getId ( ) : string Returns unique id for session.
getQuery ( ) : Guzzle\Http\QueryString Returns query of the upgrade request.
getRequest ( ) : Guzzle\Http\Message\RequestInterface Returns upgrade request.
getSession ( ) : Symfony\Component\HttpFoundation\Session\SessionInterface Returns session of the upgrade request.
getToken ( string $firewall ) : Symfony\Component\Security\Core\Authentication\Token\TokenInterface | null Returns token for given firewall.
getUser ( string $firewall ) : Sulu\Component\Security\Authentication\UserInterface | null Returns user for given firewall.
has ( string $name ) : boolean Get parameter with given name.
isValid ( ) : boolean Indicates that the context is valid.
set ( string $name, mixed $value ) Set parameter with given name.

메소드 상세

all() 공개 메소드

Returns all parameters.
public all ( ) : array
리턴 array

clear() 공개 메소드

Clear all parameter.
public clear ( )

get() 공개 메소드

Get parameter with given name.
public get ( string $name ) : mixed
$name string
리턴 mixed

getId() 공개 메소드

Returns unique id for session.
public getId ( ) : string
리턴 string

getQuery() 공개 메소드

Returns query of the upgrade request.
public getQuery ( ) : Guzzle\Http\QueryString
리턴 Guzzle\Http\QueryString

getRequest() 공개 메소드

Returns upgrade request.
public getRequest ( ) : Guzzle\Http\Message\RequestInterface
리턴 Guzzle\Http\Message\RequestInterface

getSession() 공개 메소드

Returns session of the upgrade request.
public getSession ( ) : Symfony\Component\HttpFoundation\Session\SessionInterface
리턴 Symfony\Component\HttpFoundation\Session\SessionInterface

getToken() 공개 메소드

Returns token for given firewall.
public getToken ( string $firewall ) : Symfony\Component\Security\Core\Authentication\Token\TokenInterface | null
$firewall string
리턴 Symfony\Component\Security\Core\Authentication\Token\TokenInterface | null

getUser() 공개 메소드

Returns user for given firewall.
public getUser ( string $firewall ) : Sulu\Component\Security\Authentication\UserInterface | null
$firewall string
리턴 Sulu\Component\Security\Authentication\UserInterface | null

has() 공개 메소드

Get parameter with given name.
public has ( string $name ) : boolean
$name string
리턴 boolean

isValid() 공개 메소드

Indicates that the context is valid.
public isValid ( ) : boolean
리턴 boolean

set() 공개 메소드

Set parameter with given name.
public set ( string $name, mixed $value )
$name string
$value mixed