database->getConnection(); $stmt = $pdo->query("SELECT * FROM product"); return $stmt->fetchAll(PDO::FETCH_ASSOC); } } ?>