original_string: public function addOptions(array $options)
      {
          foreach ($options as $option) {
              $this->options[] = $option;
          }
          // this will auto select the options based on this fields value
          $this->selectOptionsFromValue();
  
          return $this;
      }
code: public function addOptions(array $options)
      {
          foreach ($options as $option) {
              $this->options[] = $option;
          }
          // this will auto select the options based on this fields value
          $this->selectOptionsFromValue();
  
          return $this;
      }
code_tokens: public function addOptions ( array $ options ) { foreach ( $ options as $ option ) { $ this -> options [ ] = $ option ; } // this will auto select the options based on this fields value $ this -> selectOptionsFromValue ( ) ; return $ this ; }
docstring: Add more options to this selectfield
  
  @param array $options
  @return SelectField
docstring_tokens: Add more options to this selectfield