RecommendationListItem
in package
Class Recommendation
Table of Contents
Properties
- $content : string
- $date : DateTimeImmutable|null
- $entry : array<string|int, CommonMeta>
- $malId : string
- $user : Recommender
Methods
- fromParser() : self
- getContent() : string
- getDate() : DateTimeImmutable|null
- getEntry() : array<string|int, CommonMeta>
- getMalId() : string
- getUser() : Recommender
Properties
$content
private
string
$content
$date
private
DateTimeImmutable|null
$date
$entry
private
array<string|int, CommonMeta>
$entry
$malId
private
string
$malId
$user
private
Recommender
$user
Methods
fromParser()
public
static fromParser(Recommendation $parser) : self
Parameters
- $parser : Recommendation
Tags
Return values
selfgetContent()
public
getContent() : string
Return values
stringgetDate()
public
getDate() : DateTimeImmutable|null
Return values
DateTimeImmutable|nullgetEntry()
public
getEntry() : array<string|int, CommonMeta>
Return values
array<string|int, CommonMeta>getMalId()
public
getMalId() : string
Return values
stringgetUser()
public
getUser() : Recommender