Exemplo n.º 1
0
 public function attributes()
 {
     $attributes = parent::attributes();
     foreach ($attributes as $key => $attribute) {
         if ($attribute === 'password_hash') {
             unset($attributes[$key]);
         }
     }
     return $attributes;
 }