MetaFox

ModuleSetting extends Model
in package
implements Entity Uses HasEntity, HasFactory

Class ModuleSetting.

Table of Contents

Interfaces

Entity
Interface Entity.

Constants

ENTITY_TYPE  = 'module_setting'

Properties

$id  : int
$module_id  : string
$timestamps  : mixed
$user_id  : int
$user_value  : int
$casts  : array<string, string>
$fillable  : array<string|int, string>
$table  : mixed

Methods

entityId()  : int
entityType()  : string
factory()  : ModuleSettingFactory
moduleName()  : string
newFactory()  : ModuleSettingFactory

Constants

Properties

$casts

protected array<string, string> $casts = ['user_value' => 'array']

$fillable

protected array<string|int, string> $fillable = ['user_id', 'user_type', 'module_id', 'user_value']

$table

protected mixed $table = 'notification_module_settings'

Methods

entityId()

public entityId() : int
Return values
int

entityType()

public entityType() : string
Return values
string

factory()

public static factory(mixed $parameters) : ModuleSettingFactory
Parameters
$parameters : mixed
Return values
ModuleSettingFactory

moduleName()

public moduleName() : string
Return values
string

newFactory()

protected static newFactory() : ModuleSettingFactory
Return values
ModuleSettingFactory

        
On this page

Search results