SeasonListItemParser
in package
implements
ParserInterface
Class SeasonListItemParser
Table of Contents
Interfaces
- ParserInterface
- Interface ParserInterface
Properties
- $crawler : Crawler
Methods
- __construct() : mixed
- SeasonListItemParser constructor.
- getModel() : SeasonListItem
- Return the model
- getSeasons() : array<string|int, mixed>
- getYear() : int
Properties
$crawler
private
Crawler
$crawler
Methods
__construct()
SeasonListItemParser constructor.
public
__construct(Crawler $crawler) : mixed
Parameters
- $crawler : Crawler
getModel()
Return the model
public
getModel() : SeasonListItem
Tags
Return values
SeasonListItemgetSeasons()
public
getSeasons() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>getYear()
public
getYear() : int