original_string: public function prepare($options = [])
      {
          if (request()->ajax()) {
              return $this->getArray($options);
          }
  
          return $this->getHtml($options);
      }
code: public function prepare($options = [])
      {
          if (request()->ajax()) {
              return $this->getArray($options);
          }
  
          return $this->getHtml($options);
      }
code_tokens: public function prepare ( $ options = [ ] ) { if ( request ( ) -> ajax ( ) ) { return $ this -> getArray ( $ options ) ; } return $ this -> getHtml ( $ options ) ; }
docstring: Automatically returns the object based on the http request.
  
  @return html|array
docstring_tokens: Automatically returns the object based on the http request .