public function toArray($filterVariableContent = false, &$filtered = array()) { $data = parent::toArray($filterVariableContent, $filtered); unset($data['choices']); return $data; }
public function removeChoice(Choice $choice, $setNumber = null) { if ($choice instanceof Gap) { return $this->body->removeElement($choice); } else { parent::removeChoice($choice); } }