'array', ]; /** * Get all of the attributes for the attribute groups. */ public function getNameAttribute(): string { return $this->first_name . ' ' . $this->last_name; } /** * Get the customer record associated with the address. */ public function customer(): BelongsTo { return $this->belongsTo(Customer::class); } }