\cheetahSeasonManager

Class SeasonManager Manages an overall season, keeping track of the matchdays

Summary

Methods
Properties
Constants
__construct()
getMaxMatchday()
getCurrentMatchday()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(\mysqli  $db) 

SeasonManager constructor.

Parameters

\mysqli $db

getMaxMatchday()

getMaxMatchday() : \cheetah\int:

Returns

\cheetah\int: —

The last matchday

getCurrentMatchday()

getCurrentMatchday() : \cheetah\int:

Returns

\cheetah\int: —

The current matchday, or the last matchday if the season is already over