Documentation

Merchandise extends Model
in package
uses HasFactory

Table of Contents

Properties

$appends  : mixed
$fillable  : mixed
The attributes that are mass assignable.

Methods

getPriceFormattedAttribute()  : string
newFactory()  : MerchandiseFactory

Properties

$appends

public mixed $appends = ['price_formatted']

$fillable

The attributes that are mass assignable.

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

Methods

getPriceFormattedAttribute()

public getPriceFormattedAttribute() : string
Return values
string

        
On this page

Search results