Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117882056
UserSetting.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
634 B
Referenced Files
None
Subscribers
None
UserSetting.php
View Options
<?php
namespace
App
;
use
Illuminate\Database\Eloquent\Model
;
/**
* A collection of settings for a User.
*
* @property int $id
* @property int $user_id
* @property string $key
* @property string $value
*/
class
UserSetting
extends
Model
{
protected
$fillable
=
[
'user_id'
,
'key'
,
'value'
];
/**
* The user to which this setting belongs.
*
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
*/
public
function
user
()
{
return
$this
->
belongsTo
(
'
\A
pp
\U
ser'
,
'user_id'
,
/* local */
'id'
/* remote */
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, Apr 6, 12:18 AM (1 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
e6/1a/ee3a0d4897d14d9beb41b8068dac
Default Alt Text
UserSetting.php (634 B)
Attached To
Mode
rK kolab
Attached
Detach File
Event Timeline