Page MenuHomePhorge

DomainSetting.php
No OneTemporary

Authored By
Unknown
Size
663 B
Referenced Files
None
Subscribers
None

DomainSetting.php

<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
/**
* A collection of settings for a Domain.
*
* @property int $id
* @property int $domain_id
* @property string $key
* @property string $value
*/
class DomainSetting extends Model
{
/** @var list<string> The attributes that are mass assignable */
protected $fillable = ['domain_id', 'key', 'value'];
/**
* The domain to which this setting belongs.
*
* @return BelongsTo<Domain, $this>
*/
public function domain()
{
return $this->belongsTo(Domain::class, 'domain_id', 'id');
}
}

File Metadata

Mime Type
text/x-php
Expires
Sat, Apr 4, 4:14 AM (7 h, 42 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
43/dc/66a2d056f8e0e9a02f16c6f99940
Default Alt Text
DomainSetting.php (663 B)

Event Timeline