Caching & search configuration in repository classes
This commit is contained in:
@@ -10,16 +10,10 @@ class RankRepository extends BaseRepository implements CacheableInterface
|
||||
{
|
||||
use CacheableRepository;
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
protected $fieldSearchable = [
|
||||
|
||||
'name' => 'like',
|
||||
];
|
||||
|
||||
/**
|
||||
* Configure the Model
|
||||
**/
|
||||
public function model()
|
||||
{
|
||||
return Rank::class;
|
||||
|
||||
Reference in New Issue
Block a user