AnimeReviewParser
in package
implements
ParserInterface
Class AnimeReviewParser
Table of Contents
Interfaces
- ParserInterface
- Interface ParserInterface
Properties
- $crawler : Crawler
Methods
- __construct() : mixed
- AnimeReviewParser constructor.
- getAnime() : AnimeMeta
- getAnimeImageUrl() : string
- getAnimeImageUrlFromUserPage() : string
- getAnimeScores() : AnimeReviewScores
- getAnimeTitle() : string
- getAnimeUrl() : string
- getContent() : string
- getDate() : DateTimeImmutable
- getEpisodesWatched() : int|null
- getHelpfulCount() : int
- getId() : int
- getModel() : AnimeReview
- Return the model
- getReactions() : Reactions
- getReviewer() : Reviewer
- getReviewerScore() : int
- getReviewTag() : array<string|int, mixed>
- getType() : string|null
- getUrl() : string
- isPreliminary() : bool
- isSpoiler() : bool
Properties
$crawler
private
Crawler
$crawler
Methods
__construct()
AnimeReviewParser constructor.
public
__construct(Crawler $crawler) : mixed
Parameters
- $crawler : Crawler
getAnime()
public
getAnime([string $page = null ]) : AnimeMeta
Parameters
- $page : string = null
Return values
AnimeMetagetAnimeImageUrl()
public
getAnimeImageUrl() : string
Tags
Return values
stringgetAnimeImageUrlFromUserPage()
public
getAnimeImageUrlFromUserPage() : string
Return values
stringgetAnimeScores()
public
getAnimeScores() : AnimeReviewScores
Tags
Return values
AnimeReviewScoresgetAnimeTitle()
public
getAnimeTitle() : string
Tags
Return values
stringgetAnimeUrl()
public
getAnimeUrl() : string
Tags
Return values
stringgetContent()
public
getContent() : string
Tags
Return values
stringgetDate()
public
getDate() : DateTimeImmutable
Tags
Return values
DateTimeImmutablegetEpisodesWatched()
public
getEpisodesWatched() : int|null
Tags
Return values
int|nullgetHelpfulCount()
public
getHelpfulCount() : int
Tags
Return values
intgetId()
public
getId() : int
Tags
Return values
intgetModel()
Return the model
public
getModel() : AnimeReview
Tags
Return values
AnimeReviewgetReactions()
public
getReactions() : Reactions
Return values
ReactionsgetReviewer()
public
getReviewer() : Reviewer
Return values
ReviewergetReviewerScore()
public
getReviewerScore() : int
Return values
intgetReviewTag()
public
getReviewTag() : array<string|int, mixed>
Return values
array<string|int, mixed>getType()
public
getType() : string|null
Return values
string|nullgetUrl()
public
getUrl() : string
Tags
Return values
stringisPreliminary()
public
isPreliminary() : bool
Return values
boolisSpoiler()
public
isSpoiler() : bool