Skip to content

Commit a1772b5

Browse files
move files in Moox folder
1 parent e4c3762 commit a1772b5

File tree

6 files changed

+16
-11
lines changed

6 files changed

+16
-11
lines changed

packages/jobs/composer.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@
4646
"auto_migrate": [
4747
"database/migrations"
4848
],
49+
"plugins": [
50+
"Moox\\Jobs\\Moox\\Plugins\\JobsPlugin",
51+
"Moox\\Jobs\\Moox\\Plugins\\JobsWaitingPlugin",
52+
"Moox\\Jobs\\Moox\\Plugins\\JobsFailedPlugin",
53+
"Moox\\Jobs\\Moox\\Plugins\\JobsBatchesPlugin"
54+
],
4955
"seed": "database/seeders/JobsSeeder.php",
5056
"auto_publish": "jobs-config",
5157
"auto_entities": {
@@ -84,6 +90,5 @@
8490
}
8591
}
8692
},
87-
8893
"prefer-stable": true
89-
}
94+
}

packages/jobs/src/JobsServiceProvider.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
namespace Moox\Jobs;
44

5-
use Moox\Jobs\Commands\InstallCommand;
6-
use Moox\Jobs\Commands\UpdateCommand;
75
use Override;
6+
use Moox\Core\MooxServiceProvider;
7+
use Moox\Jobs\Commands\UpdateCommand;
8+
use Moox\Jobs\Commands\InstallCommand;
89
use Spatie\LaravelPackageTools\Package;
9-
use Spatie\LaravelPackageTools\PackageServiceProvider;
1010

11-
class JobsServiceProvider extends PackageServiceProvider
11+
class JobsServiceProvider extends MooxServiceProvider
1212
{
13-
public function configurePackage(Package $package): void
13+
public function configureMoox(Package $package): void
1414
{
1515
$package->name('jobs')
1616
->hasConfigFile()

packages/jobs/src/JobsBatchesPlugin.php renamed to packages/jobs/src/Moox/Plugins/JobsBatchesPlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Moox\Jobs;
3+
namespace Moox\Jobs\Moox\Plugins;
44

55
use Filament\Contracts\Plugin;
66
use Filament\Panel;

packages/jobs/src/JobsFailedPlugin.php renamed to packages/jobs/src/Moox/Plugins/JobsFailedPlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Moox\Jobs;
3+
namespace Moox\Jobs\Moox\Plugins;
44

55
use Filament\Contracts\Plugin;
66
use Filament\Panel;

packages/jobs/src/JobsPlugin.php renamed to packages/jobs/src/Moox/Plugins/JobsPlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Moox\Jobs;
3+
namespace Moox\Jobs\Moox\Plugins;
44

55
use Filament\Contracts\Plugin;
66
use Filament\Panel;

packages/jobs/src/JobsWaitingPlugin.php renamed to packages/jobs/src/Moox/Plugins/JobsWaitingPlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Moox\Jobs;
3+
namespace Moox\Jobs\Moox\Plugins;
44

55
use Filament\Contracts\Plugin;
66
use Filament\Panel;

0 commit comments

Comments
 (0)