base = $base; $this->db = $base->db; } function connect() { return new ApiResponse(1); } } ?>