EntityContext
Represents the context of an entity
A context defines a "variant" of an entity, currently by its language and workspace assignment. The EntityContext is bound to a RecordState.
Table of Contents
Properties
- $languageId : int
- $workspaceId : int
Methods
- getLanguageId() : int
- getWorkspaceId() : int
- withLanguageId() : static
- withWorkspaceId() : static
Properties
$languageId
protected
int
$languageId
= 0
$workspaceId
protected
int
$workspaceId
= 0
Methods
getLanguageId()
public
getLanguageId() : int
Return values
intgetWorkspaceId()
public
getWorkspaceId() : int
Return values
intwithLanguageId()
public
withLanguageId(int $languageId) : static
Parameters
- $languageId : int
Return values
staticwithWorkspaceId()
public
withWorkspaceId(int $workspaceId) : static
Parameters
- $workspaceId : int