23 lines
310 B
PHP
23 lines
310 B
PHP
|
<?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;
|
||
|
}
|
||
|
}
|