MetaFox

ReportReason extends Model
in package
implements Entity Uses HasEntity, HasFactory, HasTranslatableAttributes

Class ReportReason.

Tags
mixin

Builder

Table of Contents

Interfaces

Entity
Interface Entity.

Constants

ENTITY_TYPE  = 'report_reason'

Properties

$created_at  : string
$id  : int
$name  : string
$ordering  : int
$updated_at  : string
$fillable  : array<string|int, string>
$table  : mixed
$translatableAttributes  : mixed

Methods

entityId()  : int
entityType()  : string
factory()  : ReportReasonFactory
getNameAttribute()  : string
moduleName()  : string
newFactory()  : ReportReasonFactory

Constants

Properties

$fillable

protected array<string|int, string> $fillable = ['name', 'ordering']

$translatableAttributes

protected mixed $translatableAttributes = ['name']

Methods

entityId()

public entityId() : int
Return values
int

entityType()

public entityType() : string
Return values
string

factory()

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

getNameAttribute()

public getNameAttribute(string $value) : string
Parameters
$value : string
Return values
string

moduleName()

public moduleName() : string
Return values
string

newFactory()

protected static newFactory() : ReportReasonFactory
Return values
ReportReasonFactory

        
On this page

Search results