Beispiel #1
0
 /**
  * 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');
 }
Beispiel #2
0
 /**
  * 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);
 }