public function __construct($db) { $this->db = $db; $this->episodes = manageEpisodeEntries::getAllEpisodesFromDatabase($db); }