We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c6bd42 commit f450308Copy full SHA for f450308
1 file changed
src/ServiceProvider.php
@@ -74,6 +74,16 @@ class ServiceProvider extends AddonServiceProvider
74
],
75
];
76
77
+ public function register()
78
+ {
79
+ $this->registerSerializableClasses([
80
+ \DuncanMcClean\Cargo\Cart\Cart::class,
81
+ \DuncanMcClean\Cargo\Discounts\Discount::class,
82
+ \DuncanMcClean\Cargo\Orders\Order::class,
83
+ \DuncanMcClean\Cargo\Products\Product::class,
84
+ ]);
85
+ }
86
+
87
public function bootAddon()
88
{
89
$this->mergeConfigFrom(__DIR__.'/../config/cargo.php', 'statamic.cargo');
0 commit comments