first commit

This commit is contained in:
JaguarJack
2022-12-05 23:01:12 +08:00
commit 0024080c28
322 changed files with 27698 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
<?php
namespace Modules\Develop\Providers;
use Catch\CatchAdmin;
use Catch\Events\Module\Created;
use Catch\Events\Module\Deleted;
use Catch\Providers\CatchModuleServiceProvider;
use Modules\Develop\Listeners\CreatedListener;
use Modules\Develop\Listeners\DeletedListener;
class DevelopServiceProvider extends CatchModuleServiceProvider
{
protected array $events = [
Created::class => CreatedListener::class,
Deleted::class => DeletedListener::class
];
/**
* route path
*
* @return string|array
*/
public function routePath(): string|array
{
// TODO: Implement path() method.
return CatchAdmin::getModuleRoutePath('develop');
}
}

View File

@@ -0,0 +1,40 @@
<?php
namespace Modules\Develop\Providers;
use Catch\Support\Module\Installer;
/**
* install
*/
class Install extends Installer
{
protected function info(): array
{
// TODO: Implement info() method.
return [];
}
protected function migration(): string
{
// TODO: Implement migration() method.
return '';
}
protected function seeder(): string
{
// TODO: Implement seed() method.
return '';
}
protected function requirePackages(): void
{
// TODO: Implement requirePackages() method.
}
protected function removePackages(): void
{
// TODO: Implement removePackages() method.
}
}