*/ protected $fillable = [ 'name', ]; /** * The translatable columns. * * @var list */ public $translatable = [ 'name', ]; /** * Relation to Document * * @return BelongsToMany */ public function documents(): BelongsToMany { return $this->belongsToMany(Document::class); } }