Page MenuHomePhorge

DomainSetting.php
No OneTemporary

DomainSetting.php

<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
/**
* 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 array<int, string> The attributes that are mass assignable */
protected $fillable = ['domain_id', 'key', 'value'];
/**
* The domain to which this setting belongs.
*
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
*/
public function domain()
{
return $this->belongsTo(Domain::class, 'domain_id', 'id');
}
}

File Metadata

Mime Type
text/x-php
Expires
Mon, Aug 25, 2:32 PM (1 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
217119
Default Alt Text
DomainSetting.php (640 B)

Event Timeline