Vote
extends BaseModel
Table of Contents
Properties
-
$id
: int
-
$mark
: string
-
$translationId
: int
-
$user
: array<string|int, mixed>
-
$votedAt
: string
Methods
-
__construct()
: mixed
-
getId()
: int
-
getMark()
: string
-
getTranslationId()
: int
-
getUser()
: array<string|int, mixed>
-
getVotedAt()
: string
-
setId()
: void
-
setMark()
: void
-
setTranslationId()
: void
-
setUser()
: void
-
setVotedAt()
: void
$id
protected
int
$id
$mark
protected
string
$mark
$translationId
protected
int
$translationId
$user
protected
array<string|int, mixed>
$user
$votedAt
protected
string
$votedAt
__construct()
public
__construct([array<string|int, mixed> $data = [] ]) : mixed
Parameters
-
$data
: array<string|int, mixed>
= []
-
getId()
public
getId() : int
getMark()
public
getMark() : string
getTranslationId()
public
getTranslationId() : int
getUser()
public
getUser() : array<string|int, mixed>
Return values
array<string|int, mixed>
getVotedAt()
public
getVotedAt() : string
setId()
public
setId(int $id) : void
Parameters
-
$id
: int
-
setMark()
public
setMark(string $mark) : void
Parameters
-
$mark
: string
-
setTranslationId()
public
setTranslationId(int $translationId) : void
Parameters
-
$translationId
: int
-
setUser()
public
setUser(array<string|int, mixed> $user) : void
Parameters
-
$user
: array<string|int, mixed>
-
setVotedAt()
public
setVotedAt(string $votedAt) : void
Parameters
-
$votedAt
: string
-