Since: 8.6

final class Session (View source)

Properties

string $id

Methods

string
export(int $format = 2)

No description

static Session
import(string $data, int $format = 2)

No description

bool
isResumable()

No description

int
getTimeout()

No description

int
getCreatedAt()

No description

string|null
getProtocol()

No description

string|null
getCipher()

No description

bool
hasTicket()

No description

int|null
getTicketLifetimeHint()

No description

array
__serialize()

No description

void
__unserialize(array $data)

No description

Details

string export(int $format = 2)

No description

Parameters

int $format

Return Value

string

static Session import(string $data, int $format = 2)

No description

Parameters

string $data
int $format

Return Value

Session

bool isResumable()

No description

Return Value

bool

int getTimeout()

No description

Return Value

int

int getCreatedAt()

No description

Return Value

int

string|null getProtocol()

No description

Return Value

string|null

string|null getCipher()

No description

Return Value

string|null

bool hasTicket()

No description

Return Value

bool

int|null getTicketLifetimeHint()

No description

Return Value

int|null

array __serialize()

No description

Return Value

array

void __unserialize(array $data)

No description

Parameters

array $data

Return Value

void