| Total Complexity | 1 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | class GlossaryVariant extends Model |
||
| 18 | { |
||
| 19 | use HasFactory; |
||
| 20 | use HasTranslations; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * The attributes that aren't mass assignable. |
||
| 24 | * |
||
| 25 | * @var array |
||
| 26 | */ |
||
| 27 | protected $guarded = []; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * The attributes that are translatable. |
||
| 31 | * |
||
| 32 | * @var array |
||
| 33 | */ |
||
| 34 | public $translatable = ['term']; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Returns the glossary of the variant. |
||
| 38 | */ |
||
| 39 | public function glossary() |
||
| 44 |