RecommendationListItemParser
in package
implements
ParserInterface
Class RecommendationListItemParser
Table of Contents
Interfaces
- ParserInterface
- Interface ParserInterface
Properties
- $crawler : Crawler
Methods
- __construct() : mixed
- RecommendationListItemParser constructor.
- getContent() : string
- getDate() : DateTimeImmutable|null
- getModel() : RecommendationListItem
- Return the model
- getRecommendations() : array<string|int, mixed>
- getRecommender() : Recommender
Properties
$crawler
private
Crawler
$crawler
Methods
__construct()
RecommendationListItemParser constructor.
public
__construct(Crawler $crawler) : mixed
Parameters
- $crawler : Crawler
getContent()
public
getContent() : string
Return values
stringgetDate()
public
getDate() : DateTimeImmutable|null
Return values
DateTimeImmutable|nullgetModel()
Return the model
public
getModel() : RecommendationListItem
Tags
Return values
RecommendationListItemgetRecommendations()
public
getRecommendations() : array<string|int, mixed>
Return values
array<string|int, mixed>getRecommender()
public
getRecommender() : Recommender