mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
25 lines
488 B
PHP
25 lines
488 B
PHP
<?php namespace Backend\Models;
|
|
|
|
use October\Rain\Auth\Models\Throttle as ThrottleBase;
|
|
|
|
/**
|
|
* Administrator throttling model
|
|
*
|
|
* @package october\backend
|
|
* @author Alexey Bobkov, Samuel Georges
|
|
*/
|
|
class UserThrottle extends ThrottleBase
|
|
{
|
|
/**
|
|
* @var string The database table used by the model.
|
|
*/
|
|
protected $table = 'backend_user_throttle';
|
|
|
|
/**
|
|
* @var array Relations
|
|
*/
|
|
public $belongsTo = [
|
|
'user' => ['Backend\Models\User']
|
|
];
|
|
}
|