Changeset View
Changeset View
Standalone View
Standalone View
src/app/Tenant.php
Show All 14 Lines | |||||
{ | { | ||||
use SettingsTrait; | use SettingsTrait; | ||||
protected $fillable = [ | protected $fillable = [ | ||||
'id', | 'id', | ||||
'title', | 'title', | ||||
]; | ]; | ||||
protected $keyType = 'bigint'; | |||||
/** | /** | ||||
* Utility method to get tenant-specific system setting. | * Utility method to get tenant-specific system setting. | ||||
* If the setting is not specified for the tenant a system-wide value will be returned. | * If the setting is not specified for the tenant a system-wide value will be returned. | ||||
* | * | ||||
* @param int $tenantId Tenant identifier | * @param int $tenantId Tenant identifier | ||||
* @param string $key Setting name | * @param string $key Setting name | ||||
* | * | ||||
▲ Show 20 Lines • Show All 64 Lines • Show Last 20 Lines |