@@ 37-41 (lines=5) @@ | ||
34 | $this->registerContentfulSyncServiceBindings(app()); |
|
35 | ||
36 | // Configure how commands should be built |
|
37 | app()->bind(SyncAssetsCommand::class, function (Application $app) { |
|
38 | return new SyncAssetsCommand(config('contentfulSync.content_types'), |
|
39 | $app->make(ContentfulServiceContract::class), |
|
40 | $app->make(ContentfulSyncServiceContract::class)); |
|
41 | }); |
|
42 | ||
43 | app()->bind(SyncContentsCommand::class, function (Application $app) { |
|
44 | return new SyncContentsCommand(config('contentfulSync.content_types'), |
|
@@ 43-47 (lines=5) @@ | ||
40 | $app->make(ContentfulSyncServiceContract::class)); |
|
41 | }); |
|
42 | ||
43 | app()->bind(SyncContentsCommand::class, function (Application $app) { |
|
44 | return new SyncContentsCommand(config('contentfulSync.content_types'), |
|
45 | $app->make(ContentfulServiceContract::class), |
|
46 | $app->make(ContentfulSyncServiceContract::class)); |
|
47 | }); |
|
48 | ||
49 | // Configure how middleware should be built |
|
50 | app()->bind(WebhookAuthenticationMiddleware::class, function () { |