project = new Project($db); } public function getAllProjects() { return $this->project->fetchAll(); } }