SeasonalRequest
in package
implements
RequestInterface
Class SeasonalRequest
Table of Contents
Interfaces
- RequestInterface
- Interface RequestInterface
Properties
Methods
- __construct() : mixed
- SeasonalRequest constructor.
- getPath() : string
- Get the path to request
- getSeason() : string|null
- getYear() : int|null
- isLater() : bool
Properties
$later
private
bool
$later
$season
private
string|null
$season
$year
private
int|null
$year
Methods
__construct()
SeasonalRequest constructor.
public
__construct([int|null $year = null ][, string|null $season = null ][, bool $later = false ]) : mixed
Parameters
- $year : int|null = null
- $season : string|null = null
- $later : bool = false
getPath()
Get the path to request
public
getPath() : string
Return values
stringgetSeason()
public
getSeason() : string|null
Return values
string|nullgetYear()
public
getYear() : int|null
Return values
int|nullisLater()
public
isLater() : bool