protected function mutateAttribute($key, $value) { return $this->{'get' . Str::studly($key) . 'Attribute'}($value); }