News
in package
News.
Tags
Table of Contents
- $accountId : int|null
- $arguments : array<string|int, mixed>
- $date : DateTimeInterface|null
- $id : int|null
- $newFormat : bool|null
- $text : string|null
- $textDomain : string|null
- __construct() : mixed
- getAccountId() : int
- Get the value of AccountId.
- getArguments() : array<string|int, mixed>
- Get the value of Arguments.
- getDate() : DateTime|DateTimeImmutable
- Get the value of date.
- getId() : int
- Get the value of id.
- getNewFormat() : bool
- Get the value of newFormat.
- getText() : string
- Get the value of text.
- getTextDomain() : string
- Get the value of TextDomain.
- setAccountId() : self
- Set the value of AccountId.
- setArguments() : self
- Set the value of Arguments.
- setDate() : self
- Set the value of date.
- setId() : self
- Set the value of id.
- setNewFormat() : self
- Set the value of newFormat.
- setText() : self
- Set the value of text.
- setTextDomain() : self
- Set the value of TextDomain.
Properties
$accountId
private
int|null
$accountId
= 0
Tags
$arguments
private
array<string|int, mixed>
$arguments
= []
Tags
$date
private
DateTimeInterface|null
$date
Tags
$id
private
int|null
$id
= null
Tags
$newFormat
private
bool|null
$newFormat
= true
Tags
$text
private
string|null
$text
= null
Tags
$textDomain
private
string|null
$textDomain
= ''
Tags
Methods
__construct()
public
__construct() : mixed
Return values
mixed —getAccountId()
Get the value of AccountId.
public
getAccountId() : int
Return values
int —getArguments()
Get the value of Arguments.
public
getArguments() : array<string|int, mixed>
Return values
array<string|int, mixed> —getDate()
Get the value of date.
public
getDate() : DateTime|DateTimeImmutable
Return values
DateTime|DateTimeImmutable —getId()
Get the value of id.
public
getId() : int
Return values
int —getNewFormat()
Get the value of newFormat.
public
getNewFormat() : bool
Return values
bool —getText()
Get the value of text.
public
getText() : string
Return values
string —getTextDomain()
Get the value of TextDomain.
public
getTextDomain() : string
Return values
string —setAccountId()
Set the value of AccountId.
public
setAccountId(int $accountId) : self
Parameters
- $accountId : int
Return values
self —setArguments()
Set the value of Arguments.
public
setArguments(array<string|int, mixed> $arguments) : self
Parameters
- $arguments : array<string|int, mixed>
Return values
self —setDate()
Set the value of date.
public
setDate(DateTime $date) : self
Parameters
- $date : DateTime
Return values
self —setId()
Set the value of id.
public
setId(int $id) : self
Parameters
- $id : int
Return values
self —setNewFormat()
Set the value of newFormat.
public
setNewFormat(bool $newFormat) : self
Parameters
- $newFormat : bool
Return values
self —setText()
Set the value of text.
public
setText(string $text) : self
Parameters
- $text : string
Return values
self —setTextDomain()
Set the value of TextDomain.
public
setTextDomain(string $textDomain) : self
Parameters
- $textDomain : string