Fix formatting and interfaces in nearly every file
This commit is contained in:
@@ -2,18 +2,25 @@
|
||||
|
||||
namespace App\Repositories;
|
||||
|
||||
use App\Interfaces\Repository;
|
||||
use App\Models\Rank;
|
||||
use Prettus\Repository\Contracts\CacheableInterface;
|
||||
use Prettus\Repository\Traits\CacheableRepository;
|
||||
|
||||
class RankRepository extends BaseRepository implements CacheableInterface
|
||||
/**
|
||||
* 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;
|
||||
|
||||
Reference in New Issue
Block a user