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');
}
}