Initial user management in admin panel
This commit is contained in:
22
app/Repositories/UserRepository.php
Normal file
22
app/Repositories/UserRepository.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user