2015-12-06 18:58:49 +00:00
|
|
|
<?php
|
|
|
|
|
2017-06-11 03:28:44 +00:00
|
|
|
namespace Pterodactyl\Repositories\Eloquent;
|
2015-12-06 18:58:49 +00:00
|
|
|
|
2017-08-05 22:26:30 +00:00
|
|
|
use Pterodactyl\Models\User;
|
2017-07-01 20:29:49 +00:00
|
|
|
use Pterodactyl\Contracts\Repository\UserRepositoryInterface;
|
2017-06-11 03:28:44 +00:00
|
|
|
|
2017-08-19 03:19:06 +00:00
|
|
|
class UserRepository extends EloquentRepository implements UserRepositoryInterface
|
2016-12-07 22:46:38 +00:00
|
|
|
{
|
2015-12-06 18:58:49 +00:00
|
|
|
/**
|
2018-01-05 04:49:50 +00:00
|
|
|
* Return the model backing this repository.
|
2015-12-06 18:58:49 +00:00
|
|
|
*
|
2018-01-05 04:49:50 +00:00
|
|
|
* @return string
|
2017-07-08 19:07:51 +00:00
|
|
|
*/
|
2017-06-11 03:28:44 +00:00
|
|
|
public function model()
|
2015-12-06 18:58:49 +00:00
|
|
|
{
|
2017-06-11 03:28:44 +00:00
|
|
|
return User::class;
|
2015-12-06 18:58:49 +00:00
|
|
|
}
|
|
|
|
}
|