type = $type; $this->subproblems = $subproblems; parent::__construct($detail); } function getType() { return $this->type; } function getSubproblems() { return $this->subproblems; } }