testId; } public function setTestId($testId) { $this->testId = $testId; return $this; } public function getSlideId() { return $this->slideId; } public function setSlideId($slideId) { $this->slideId = $slideId; return $this; } public function getMode() { return $this->mode; } public function setMode($mode) { if ($mode !== Model::MODE_TRAINING && $mode !== Model::MODE_ADMIN) { throw new \Exception('Unknown mode "' . $mode . '"'); } $this->mode = $mode; return $this; } public function __sleep() { return $this->properties; } }