Storage\Proxy\AbstractProxy (Component\HttpFoundation\Session)

Symfony\Component\HttpFoundation\Session\Storage\Proxy\AbstractProxy

abstract class AbstractProxy

AbstractProxy.

Methods

string getSaveHandlerName()

Gets the session.save_handler name.

bool isSessionHandlerInterface()

Is this proxy handler and instance of \SessionHandlerInterface.

bool isWrapper()

Returns true if this handler wraps an internal PHP session save handler using \SessionHandler.

bool isActive()

Has a session started?

string getId()

Gets the session ID.

setId(string $id)

Sets the session ID.

string getName()

Gets the session name.

setName(string $name)

Sets the session name.

Details

public string getSaveHandlerName()

Gets the session.save_handler name.

Return Value

string

public bool isSessionHandlerInterface()

Is this proxy handler and instance of \SessionHandlerInterface.

Return Value

bool

public bool isWrapper()

Returns true if this handler wraps an internal PHP session save handler using \SessionHandler.

Return Value

bool

public bool isActive()

Has a session started?

Return Value

bool

public string getId()

Gets the session ID.

Return Value

string

public setId(string $id)

Sets the session ID.

Parameters

string $id

Exceptions

LogicException

public string getName()

Gets the session name.

Return Value

string

public setName(string $name)

Sets the session name.

Parameters

string $name

Exceptions

LogicException
在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部