Example #1
0
 /**
  * Mantém a compatibilidade com snake_case ao definir atributos
  *
  * @param string $key
  * @param mixed  $value
  *
  * @return $this|void
  */
 public function setAttribute($key, $value)
 {
     $key = snake_case($key);
     return parent::setAttribute($key, $value);
 }