subMonth());
}
/**
* Prepare the model for pruning.
*
* @since 1.0.0
*
* @return void
*/
protected function pruning(): void
{
//
}
/*
|--------------------------------------------------------------------------
| Accessors
|--------------------------------------------------------------------------
|
*/
/**
* An accessor.
*
* @since 1.0.0
*
* @return \Illuminate\Database\Eloquent\Casts\Attribute
*/
protected function attrName(): Attribute
{
return Attribute::make(
get: fn ($value, $attributes) => $attributes['foo'],
);
}
/*
|--------------------------------------------------------------------------
| Mutators
|--------------------------------------------------------------------------
|
*/
//
/*
|--------------------------------------------------------------------------
| Scopes
|--------------------------------------------------------------------------
|
*/
//
/*
|--------------------------------------------------------------------------
| Relationships
|--------------------------------------------------------------------------
|
*/
//
]]>
laramodel