Legend of the Green Dragon

News
in package

News.

Tags
ORM\Table

( indexes={ @ORM\Index(name="account_id", columns={"account_id"}), @ORM\Index(name="date", columns={"date"}) } )

ORM\Entity

(repositoryClass="Lotgd\Core\Repository\NewsRepository")

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
ORM\Column

(type="integer", options={"unsigned"=true})

$arguments

private array<string|int, mixed> $arguments = []
Tags
ORM\Column

(type="array")

$date

private DateTimeInterface|null $date
Tags
ORM\Column

(type="date", options={"default"="0000-00-00"})

$id

private int|null $id = null
Tags
ORM\Column

(type="integer", options={"unsigned"=true})

ORM\Id
ORM\GeneratedValue

(strategy="IDENTITY")

$newFormat

private bool|null $newFormat = true
Tags
ORM\Column

(type="boolean", options={"default"=1})

$text

private string|null $text = null
Tags
ORM\Column

(type="text", length=65535)

$textDomain

private string|null $textDomain = ''
Tags
ORM\Column

(type="string", length=255, options={"default"="partial_news"})

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
Return values
self

Search results