public function filterable($limit = 5)
    {
        $key = md5(vsprintf('%s', ['filterable_features']));

        return Cache::remember($key, $this->remembering, function () use ($limit) {
            return $this->next->filterable($limit);
        });
    }
public function filterable($limit = 5)
    {
        $key = md5(vsprintf('%s', ['filterable_features']));

        return Cache::remember($key, $this->remembering, function () use ($limit) {
            return $this->next->filterable($limit);
        });
    }
public function filterable ( $ limit = 5 ) { $ key = md5 ( vsprintf ( '%s' , [ 'filterable_features' ] ) ) ; return Cache :: remember ( $ key , $ this -> remembering , function ( ) use ( $ limit ) { return $ this -> next -> filterable ( $ limit ) ; } ) ; }
Exposes the features allowed to be in the products filtering.

@param  integer $limit

@return \Illuminate\Database\Eloquent\Collection
Exposes the features allowed to be in the products filtering .