1 | <?php |
||
11 | class Translation extends Model |
||
12 | { |
||
13 | use Translatable; |
||
14 | |||
15 | protected $table; |
||
16 | |||
17 | /** |
||
18 | * List of variables that can be mass assigned. |
||
19 | * |
||
20 | * @var array |
||
21 | */ |
||
22 | protected $fillable = ['namespace', 'group', 'key', 'values']; |
||
23 | |||
24 | public $translatable = ['values']; |
||
25 | |||
26 | /** |
||
27 | * Translation constructor. |
||
28 | * |
||
29 | * @param array $attributes |
||
30 | */ |
||
31 | public function __construct(array $attributes = []) |
||
36 | } |
||
37 |