options = $options; return $this; } public function getOptions() { if ($this->options === null) { throw new PhutilInvalidStateException('setOptions'); } return $this->options; } protected function newControl() { return id(new AphrontFormSelectControl()) ->setOptions($this->getOptions()); } public function getHTTPParameterType() { return 'select'; } }