MetaFox

Driver extends Model
in package
implements Entity Uses HasEntity, HasFactory

Class Driver.

Table of Contents

Interfaces

Entity
Interface Entity.

Constants

ENTITY_TYPE  = 'core-driver'

Properties

$alias  : string|null
$description  : string
$driver  : string
$id  : int
$is_active  : bool
$is_preload  : bool
$module_id  : string
$name  : string
$package_id  : string
$package_name  : string|null
$resolution  : bool
$title  : string
$type  : string
$url  : string
$version  : string|null
$appends  : mixed
$casts  : mixed
$fillable  : array<string|int, string>
$table  : mixed

Methods

entityId()  : int
entityType()  : string
factory()  : DriverFactory
getPackageNameAttribute()  : string|null
getTypeLabelAttribute()  : string|null
moduleName()  : string
booted()  : mixed
newFactory()  : DriverFactory

Constants

ENTITY_TYPE

public mixed ENTITY_TYPE = 'core-driver'

Properties

$description

public string $description

$is_active

public bool $is_active

$is_preload

public bool $is_preload

$module_id

public string $module_id

$package_id

public string $package_id

$package_name

public string|null $package_name

$resolution

public bool $resolution

$version

public string|null $version

$appends

protected mixed $appends = ['package_name', 'type_label']

$casts

protected mixed $casts = ['is_active' => 'boolean', 'is_preload' => 'boolean']

$fillable

protected array<string|int, string> $fillable = ['type', 'name', 'version', 'driver', 'alias', 'resolution', 'is_active', 'is_preload', 'title', 'description', 'category', 'url', 'module_id', 'package_id']

$table

protected mixed $table = 'core_drivers'

Methods

entityId()

public entityId() : int
Return values
int

entityType()

public entityType() : string
Return values
string

factory()

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

getPackageNameAttribute()

public getPackageNameAttribute() : string|null
Return values
string|null

getTypeLabelAttribute()

public getTypeLabelAttribute() : string|null
Return values
string|null

moduleName()

public moduleName() : string
Return values
string

booted()

protected static booted() : mixed

newFactory()

protected static newFactory() : DriverFactory
Return values
DriverFactory

        
On this page

Search results