Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F1841559
ResourceSetting.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
656 B
Referenced Files
None
Subscribers
None
ResourceSetting.php
View Options
<?php
namespace
App
;
use
Illuminate\Database\Eloquent\Model
;
/**
* A collection of settings for a Resource.
*
* @property int $id
* @property int $resource_id
* @property string $key
* @property string $value
*/
class
ResourceSetting
extends
Model
{
/** @var array<int, string> The attributes that are mass assignable */
protected
$fillable
=
[
'resource_id'
,
'key'
,
'value'
];
/**
* The resource to which this setting belongs.
*
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
*/
public
function
resource
()
{
return
$this
->
belongsTo
(
Resource
::
class
,
'resource_id'
,
'id'
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, Aug 25, 3:22 PM (1 d, 9 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
217754
Default Alt Text
ResourceSetting.php (656 B)
Attached To
Mode
R2 kolab
Attached
Detach File
Event Timeline
Log In to Comment