src/Filters/Behavior/Searchable.php
public function search($pattern = null)
    {
        if (! $pattern) {
            return;
        }

        foreach ($this->searchable as $column) {
            $this->resolveSearch($column, $pattern);
        }
    }
public function search($pattern = null)
    {
        if (! $pattern) {
            return;
        }

        foreach ($this->searchable as $column) {
            $this->resolveSearch($column, $pattern);
        }
    }
public function search ( $ pattern = null ) { if ( ! $ pattern ) { return ; } foreach ( $ this -> searchable as $ column ) { $ this -> resolveSearch ( $ column , $ pattern ) ; } }
Searches given columns.

@param  string  $pattern
@return void
Searches given columns .