function getRequirements() { $codeManager = new CodeManager(); $code = $codeManager->get($this->id); if (is_null($code)) { return $this->codeType . ":" . $this->id; } return $code->display(); }