phpvms/app/Repositories/UserRepository.php

23 lines
310 B
PHP
Raw Normal View History

2017-11-30 08:01:07 +08:00
<?php
namespace App\Repositories;
use App\Models\User;
class UserRepository extends BaseRepository
{
/**
* @var array
*/
protected $fieldSearchable = [
'email'
];
/**
* Configure the Model
**/
public function model()
{
return User::class;
}
}