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
$alias
public
string|null
$alias
$description
public
string
$description
$driver
public
string
$driver
$id
public
int
$id
$is_active
public
bool
$is_active
$is_preload
public
bool
$is_preload
$module_id
public
string
$module_id
$name
public
string
$name
$package_id
public
string
$package_id
$package_name
public
string|null
$package_name
$resolution
public
bool
$resolution
$title
public
string
$title
$type
public
string
$type
$url
public
string
$url
$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
intentityType()
public
entityType() : string
Return values
stringfactory()
public
static factory(mixed $parameters) : DriverFactory
Parameters
- $parameters : mixed
Return values
DriverFactorygetPackageNameAttribute()
public
getPackageNameAttribute() : string|null
Return values
string|nullgetTypeLabelAttribute()
public
getTypeLabelAttribute() : string|null
Return values
string|nullmoduleName()
public
moduleName() : string
Return values
stringbooted()
protected
static booted() : mixed
newFactory()
protected
static newFactory() : DriverFactory