/** * Determine if a set mutator exists for an attribute. * @param string $key * @return bool */ public function hasSetMutator($key) { return $this->methodExists('set' . Str::studly($key) . 'Attribute'); }
/** * Convert a value to studly caps case. * * @param string $value * @return string * @static */ public static function studly($value) { //Method inherited from \Illuminate\Support\Str return \October\Rain\Support\Str::studly($value); }