Snipe-IT
Open Source Asset Management
FEATURES
DEMO
DOWNLOAD
DOCUMENTATION
HOSTED SOLUTION
SUPPORT
Intro
Namespaces
Classes
Files
Misc
snipe-it
app
Models
Throttle.php
Go to the documentation of this file.
1
<?php
2
namespace
App\Models
;
3
4
use
Illuminate\Database\Eloquent\Model
;
5
6
class
Throttle
extends
Model
7
{
8
9
protected
$table
=
'throttle'
;
10
public
function
user
()
11
{
12
return
$this->belongsTo(
'User'
,
'user_id'
);
13
}
14
}
Model
App\Models\Throttle
Definition:
Throttle.php:6
App\Models
Definition:
Accessory.php:2
App\Models\Throttle\user
user()
Definition:
Throttle.php:10
App\Models\Throttle\$table
$table
Definition:
Throttle.php:9