original_string: public function search($pattern = null)
      {
          if (! $pattern) {
              return;
          }
  
          foreach ($this->searchable as $column) {
              $this->resolveSearch($column, $pattern);
          }
      }
code: public function search($pattern = null)
      {
          if (! $pattern) {
              return;
          }
  
          foreach ($this->searchable as $column) {
              $this->resolveSearch($column, $pattern);
          }
      }
code_tokens: public function search ( $ pattern = null ) { if ( ! $ pattern ) { return ; } foreach ( $ this -> searchable as $ column ) { $ this -> resolveSearch ( $ column , $ pattern ) ; } }
docstring: Searches given columns.
  
  @param  string  $pattern
  @return void
docstring_tokens: Searches given columns .