src/Filterable.php
public function provideFilter($filter = null)
    {
        if ($filter === null) {
            $filter = config('eloquentfilter.namespace', 'App\\ModelFilters\\').class_basename($this).'Filter';
        }

        return $filter;
    }
public function provideFilter($filter = null)
    {
        if ($filter === null) {
            $filter = config('eloquentfilter.namespace', 'App\\ModelFilters\\').class_basename($this).'Filter';
        }

        return $filter;
    }
public function provideFilter ( $ filter = null ) { if ( $ filter === null ) { $ filter = config ( 'eloquentfilter.namespace' , 'App\\ModelFilters\\' ) . class_basename ( $ this ) . 'Filter' ; } return $ filter ; }
Returns ModelFilter class to be instantiated.

@param null|string $filter
@return string
Returns ModelFilter class to be instantiated .