phpvms/app/Repositories/RankRepository.php
2018-02-01 16:46:37 -06:00

22 lines
407 B
PHP

<?php
namespace App\Repositories;
use App\Models\Rank;
use Prettus\Repository\Traits\CacheableRepository;
use Prettus\Repository\Contracts\CacheableInterface;
class RankRepository extends BaseRepository implements CacheableInterface
{
use CacheableRepository;
protected $fieldSearchable = [
'name' => 'like',
];
public function model()
{
return Rank::class;
}
}