phpvms/app/Repositories/RankRepository.php
2017-12-06 22:48:42 -06:00

22 lines
405 B
PHP

<?php
namespace App\Repositories;
use App\Models\Rank;
use App\Repositories\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;
}
}