ReactionsParser
in package
implements
ParserInterface
Class ReactionsParser
Table of Contents
Interfaces
- ParserInterface
- Interface ParserInterface
Properties
- $crawler : Crawler
- $reactions : array<string|int, mixed>
Methods
- __construct() : mixed
- ReactionsParser constructor.
- getConfusing() : int
- getCreative() : int
- getFunny() : int
- getInformative() : int
- getLoveIt() : int
- getModel() : Reactions
- Return the model
- getNice() : int
- getOverall() : int
- getWellWritten() : int
- getReactions() : string
Properties
$crawler
private
Crawler
$crawler
$reactions
private
array<string|int, mixed>
$reactions
Methods
__construct()
ReactionsParser constructor.
public
__construct(Crawler $crawler) : mixed
Parameters
- $crawler : Crawler
getConfusing()
public
getConfusing() : int
Return values
intgetCreative()
public
getCreative() : int
Return values
intgetFunny()
public
getFunny() : int
Return values
intgetInformative()
public
getInformative() : int
Return values
intgetLoveIt()
public
getLoveIt() : int
Return values
intgetModel()
Return the model
public
getModel() : Reactions
Tags
Return values
ReactionsgetNice()
public
getNice() : int
Return values
intgetOverall()
public
getOverall() : int
Return values
intgetWellWritten()
public
getWellWritten() : int
Return values
intgetReactions()
private
getReactions() : string