@@ -17,6 +17,9 @@  | 
                                                    ||
| 17 | 17 | return $this->getTranslation($key, $this->getLocale());  | 
                                                        
| 18 | 18 | }  | 
                                                        
| 19 | 19 | |
| 20 | + /**  | 
                                                        |
| 21 | + * @param string $key  | 
                                                        |
| 22 | + */  | 
                                                        |
| 20 | 23 | public function setAttribute($key, $value)  | 
                                                        
| 21 | 24 |      { | 
                                                        
| 22 | 25 | // Pass arrays and untranslatable attributes to the parent method.  |