Bånder

Genre extends BaseModel
in package
uses HasFactory, HasSlug, HasRecursiveRelationships

Table of Contents

Properties

$filterFields  : array<string|int, mixed>
$filterRelations  : array<string|int, mixed>
$dateFormat  : mixed
$fillable  : mixed

Methods

formatForException()  : string
getRouteKeyName()  : string
getSlugOptions()  : SlugOptions
Get the options for generating the slug.
newEloquentBuilder()  : RecursiveBaseBuilder
Create a new Eloquent query builder for the model.
songs()  : mixed
update()  : mixed

Properties

$filterFields

public static array<string|int, mixed> $filterFields = ['name', 'slug']

$filterRelations

public static array<string|int, mixed> $filterRelations = ['songs']

$dateFormat

protected mixed $dateFormat = 'Y-m-d H:i:sO'

$fillable

protected mixed $fillable = ['name', 'slug']

Methods

formatForException()

public formatForException() : string
Return values
string

getRouteKeyName()

public getRouteKeyName() : string
Return values
string

getSlugOptions()

Get the options for generating the slug.

public getSlugOptions() : SlugOptions
Return values
SlugOptions

songs()

public songs() : mixed

update()

public update([array<string|int, mixed> $attributes = [] ][, array<string|int, mixed> $options = [] ]) : mixed
Parameters
$attributes : array<string|int, mixed> = []
$options : array<string|int, mixed> = []

        
On this page

Search results