original_string: public function spanElement($name, $display, $value)
      {
          $options = ['onClick' => '$(this).remove();', 'class' => 'multiselector'];
  
          return $this->toHtmlString(
              '<span'.$this->attributes($options).'>'.
              '<input type="hidden" name="'.$name.'[]" value="'.$value.'">'
              .e($display).
              '</span>');
      }
code: public function spanElement($name, $display, $value)
      {
          $options = ['onClick' => '$(this).remove();', 'class' => 'multiselector'];
  
          return $this->toHtmlString(
              '<span'.$this->attributes($options).'>'.
              '<input type="hidden" name="'.$name.'[]" value="'.$value.'">'
              .e($display).
              '</span>');
      }
code_tokens: public function spanElement ( $ name , $ display , $ value ) { $ options = [ 'onClick' => '$(this).remove();' , 'class' => 'multiselector' ] ; return $ this -> toHtmlString ( '<span' . $ this -> attributes ( $ options ) . '>' . '<input type="hidden" name="' . $ name . '[]" value="' . $ value . '">' . e ( $ display ) . '</span>' ) ; }
docstring: Generates a single span with pre-selected options with relevant options.
  
  @param string $name
  @param string $display
  @param string $value
  
  @return \Illuminate\Support\HtmlString
docstring_tokens: Generates a single span with pre - selected options with relevant options .