SourceString
extends BaseModel
in package
Table of Contents
Properties
- $branchId : int|null
- $context : string
- $createdAt : string
- $directoryId : int|null
- $fileId : int
- $hasPlurals : bool
- $id : int
- $identifier : string
- $isDuplicate : bool
- $isHidden : bool
- $isIcu : bool
- $labelIds : array<string|int, mixed>
- $masterStringId : int|null
- $maxLength : int
- $projectId : int
- $revision : int
- $text : string|array<string|int, mixed>
- $type : string
- $updatedAt : string
Methods
- __construct() : mixed
- getBranchId() : int|null
- getContext() : string
- getCreatedAt() : string
- getDirectoryId() : int|null
- getFileId() : int
- getId() : int
- getIdentifier() : string
- getLabelIds() : array<string|int, mixed>
- getMasterStringId() : int|null
- getMaxLength() : int
- getProjectId() : int
- getRevision() : int
- getText() : string|array<string|int, mixed>
- getType() : string
- getUpdatedAt() : string
- isDuplicate() : bool
- isHasPlurals() : bool
- isHidden() : bool
- isIcu() : bool
- isPlural() : bool
- Alias of isHasPlurals
- setContext() : void
- setIsHidden() : void
- setLabelIds() : void
- setMaxLength() : void
- setText() : void
Properties
$branchId
protected
int|null
$branchId
$context
protected
string
$context
$createdAt
protected
string
$createdAt
$directoryId
protected
int|null
$directoryId
$fileId
protected
int
$fileId
$hasPlurals
protected
bool
$hasPlurals
$id
protected
int
$id
$identifier
protected
string
$identifier
$isDuplicate
protected
bool
$isDuplicate
= false
$isHidden
protected
bool
$isHidden
$isIcu
protected
bool
$isIcu
$labelIds
protected
array<string|int, mixed>
$labelIds
$masterStringId
protected
int|null
$masterStringId
$maxLength
protected
int
$maxLength
$projectId
protected
int
$projectId
$revision
protected
int
$revision
$text
protected
string|array<string|int, mixed>
$text
$type
protected
string
$type
$updatedAt
protected
string
$updatedAt
Methods
__construct()
public
__construct([array<string|int, mixed> $data = [] ]) : mixed
Parameters
- $data : array<string|int, mixed> = []
getBranchId()
public
getBranchId() : int|null
Return values
int|nullgetContext()
public
getContext() : string
Return values
stringgetCreatedAt()
public
getCreatedAt() : string
Return values
stringgetDirectoryId()
public
getDirectoryId() : int|null
Return values
int|nullgetFileId()
public
getFileId() : int
Return values
intgetId()
public
getId() : int
Return values
intgetIdentifier()
public
getIdentifier() : string
Return values
stringgetLabelIds()
public
getLabelIds() : array<string|int, mixed>
Return values
array<string|int, mixed>getMasterStringId()
public
getMasterStringId() : int|null
Return values
int|nullgetMaxLength()
public
getMaxLength() : int
Return values
intgetProjectId()
public
getProjectId() : int
Return values
intgetRevision()
public
getRevision() : int
Return values
intgetText()
public
getText() : string|array<string|int, mixed>
Return values
string|array<string|int, mixed>getType()
public
getType() : string
Return values
stringgetUpdatedAt()
public
getUpdatedAt() : string
Return values
stringisDuplicate()
public
isDuplicate() : bool
Return values
boolisHasPlurals()
public
isHasPlurals() : bool
Return values
boolisHidden()
public
isHidden() : bool
Return values
boolisIcu()
public
isIcu() : bool
Return values
boolisPlural()
Alias of isHasPlurals
public
isPlural() : bool
Return values
boolsetContext()
public
setContext(string $context) : void
Parameters
- $context : string
setIsHidden()
public
setIsHidden(bool $isHidden) : void
Parameters
- $isHidden : bool
setLabelIds()
public
setLabelIds(array<string|int, mixed> $labelIds) : void
Parameters
- $labelIds : array<string|int, mixed>
setMaxLength()
public
setMaxLength(int $maxLength) : void
Parameters
- $maxLength : int
setText()
public
setText(string|array<string|int, mixed> $text) : void
Parameters
- $text : string|array<string|int, mixed>