phpvms/app/Repositories/RankRepository.php
2017-12-01 10:53:33 -06:00

22 lines
407 B
PHP

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