src/SearchableTrait.php
public function scopeSearch(Builder $q, $search, $threshold = null, $entireText = false, $entireTextOnly = false)
    {
        return $this->scopeSearchRestricted($q, $search, null, $threshold, $entireText, $entireTextOnly);
    }
public function scopeSearch(Builder $q, $search, $threshold = null, $entireText = false, $entireTextOnly = false)
    {
        return $this->scopeSearchRestricted($q, $search, null, $threshold, $entireText, $entireTextOnly);
    }
public function scopeSearch ( Builder $ q , $ search , $ threshold = null , $ entireText = false , $ entireTextOnly = false ) { return $ this -> scopeSearchRestricted ( $ q , $ search , null , $ threshold , $ entireText , $ entireTextOnly ) ; }
Creates the search scope.

@param \Illuminate\Database\Eloquent\Builder $q
@param string $search
@param float|null $threshold
@param  boolean $entireText
@param  boolean $entireTextOnly
@return \Illuminate\Database\Eloquent\Builder
Creates the search scope .