ScheduleParser
in package
implements
ParserInterface
Class SeasonalParser
Table of Contents
Interfaces
- ParserInterface
- Interface ParserInterface
Properties
- $crawler : Crawler
Methods
- __construct() : mixed
- SeasonalParser constructor.
- getModel() : Schedule
- Return the model
- getShedule() : array<string|int, mixed>
Properties
$crawler
private
Crawler
$crawler
Methods
__construct()
SeasonalParser constructor.
public
__construct(Crawler $crawler) : mixed
Parameters
- $crawler : Crawler
getModel()
Return the model
public
getModel() : Schedule
Tags
Return values
SchedulegetShedule()
public
getShedule([string $day = 'all' ]) : array<string|int, mixed>
Parameters
- $day : string = 'all'