public function setNameAttribute($input) { $this->attributes['name'] = ucfirst(Str::camel($input)); }