2016-11-27 00:29:57 +00:00
|
|
|
<?php
|
2016-12-07 22:46:38 +00:00
|
|
|
|
2017-08-24 02:34:11 +00:00
|
|
|
namespace Pterodactyl\Repositories\Eloquent;
|
2016-11-27 00:29:57 +00:00
|
|
|
|
2017-08-24 02:34:11 +00:00
|
|
|
use Pterodactyl\Models\Permission;
|
|
|
|
use Pterodactyl\Contracts\Repository\PermissionRepositoryInterface;
|
2016-11-27 00:29:57 +00:00
|
|
|
|
2017-08-24 02:34:11 +00:00
|
|
|
class PermissionRepository extends EloquentRepository implements PermissionRepositoryInterface
|
2016-11-27 00:29:57 +00:00
|
|
|
{
|
2017-03-19 23:36:50 +00:00
|
|
|
/**
|
2018-01-05 04:49:50 +00:00
|
|
|
* Return the model backing this repository.
|
|
|
|
*
|
|
|
|
* @return string
|
2017-03-19 23:36:50 +00:00
|
|
|
*/
|
2017-08-24 02:34:11 +00:00
|
|
|
public function model()
|
2016-11-27 00:29:57 +00:00
|
|
|
{
|
2017-08-24 02:34:11 +00:00
|
|
|
return Permission::class;
|
2016-11-27 00:29:57 +00:00
|
|
|
}
|
|
|
|
}
|