phpvms/app/Repositories/RankRepository.php
2018-03-19 20:50:40 -05:00

29 lines
532 B
PHP

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