AnimeReview
extends AnimeReview
in package
Class UserAnimeReview
Table of Contents
Properties
- $date : DateTimeImmutable
- $episodesWatched : int|null
- $isPreliminary : bool
- $isSpoiler : bool
- $malId : int
- $reactions : Reactions
- $review : string
- $score : int
- $tags : array<string|int, mixed>
- $type : string|null
- $url : string
- $user : Reviewer
Methods
- fromParser() : AnimeReview
- getDate() : DateTimeImmutable
- getEpisodesWatched() : int|null
- getMalId() : int
- getReactions() : Reactions
- getReview() : string
- getScore() : int
- getTags() : array<string|int, mixed>
- getType() : string
- getUrl() : string
- getUser() : Reviewer
- isPreliminary() : bool
- isSpoiler() : bool
Properties
$date
protected
DateTimeImmutable
$date
$episodesWatched
protected
int|null
$episodesWatched
$isPreliminary
protected
bool
$isPreliminary
$isSpoiler
protected
bool
$isSpoiler
$malId
protected
int
$malId
$reactions
protected
Reactions
$reactions
$review
protected
string
$review
$score
protected
int
$score
$tags
protected
array<string|int, mixed>
$tags
$type
protected
string|null
$type
$url
protected
string
$url
$user
private
Reviewer
$user
Methods
fromParser()
public
static fromParser(AnimeReviewParser $parser) : AnimeReview
Parameters
- $parser : AnimeReviewParser
Tags
Return values
AnimeReviewgetDate()
public
getDate() : DateTimeImmutable
Return values
DateTimeImmutablegetEpisodesWatched()
public
getEpisodesWatched() : int|null
Return values
int|nullgetMalId()
public
getMalId() : int
Return values
intgetReactions()
public
getReactions() : Reactions
Return values
ReactionsgetReview()
public
getReview() : string
Return values
stringgetScore()
public
getScore() : int
Return values
intgetTags()
public
getTags() : array<string|int, mixed>
Return values
array<string|int, mixed>getType()
public
getType() : string
Return values
stringgetUrl()
public
getUrl() : string
Return values
stringgetUser()
public
getUser() : Reviewer
Return values
ReviewerisPreliminary()
public
isPreliminary() : bool
Return values
boolisSpoiler()
public
isSpoiler() : bool