Copied!

ContextInterface

ContextInterface.php : 11

Methods

publicgetDescription()

ContextInterface.php : 27
public getDescription() : string|null

Return values

string|null

publicgetId()

ContextInterface.php : 13
public getId() : int

Return values

int

publicgetIp()

ContextInterface.php : 43
public getIp() : string|null

Return values

string|null

publicgetSource()

ContextInterface.php : 20
public getSource() : string|null

Return values

string|null

publicgetUserId()

ContextInterface.php : 36
public getUserId() : int

Return values

int

publichasUserId()

ContextInterface.php : 34
public hasUserId() : bool

Return values

bool

publicisPersisted()

ContextInterface.php : 50
public isPersisted() : bool

Return values

bool

publicsetDescription()

ContextInterface.php : 32
public setDescription(string|null $description) : void

Parameters

Name Type Default value Description
$description string|null - -
Tags
Throws
ContextLockedException

publicsetId()

ContextInterface.php : 18
public setId(int $id) : void

Parameters

Name Type Default value Description
$id int - -
Tags
Throws
ContextLockedException

publicsetIp()

ContextInterface.php : 48
public setIp(string|null $ip) : void

Parameters

Name Type Default value Description
$ip string|null - -
Tags
Throws
ContextLockedException

publicsetSource()

ContextInterface.php : 25
public setSource(string|null $source) : void

Parameters

Name Type Default value Description
$source string|null - -
Tags
Throws
ContextLockedException

publicsetUserId()

ContextInterface.php : 41
public setUserId(int $userId) : void

Parameters

Name Type Default value Description
$userId int - -
Tags
Throws
ContextLockedException