Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117883228
ResourceSetting.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
600 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
{
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
(
\App\Resource
::
class
,
'resource_id'
,
'id'
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, Apr 6, 12:58 AM (5 d, 2 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
59/53/a08c322c6f7f9a6f315d4603009b
Default Alt Text
ResourceSetting.php (600 B)
Attached To
Mode
rK kolab
Attached
Detach File
Event Timeline