catchAdmin/modules/Common/Providers/CommonServiceProvider.php

24 lines
509 B
PHP
Raw Normal View History

2023-01-11 17:17:36 +08:00
<?php
namespace Modules\Common\Providers;
use Catch\CatchAdmin;
use Catch\Providers\CatchModuleServiceProvider;
use Modules\User\Events\Login;
use Modules\User\Listeners\Login as LoginListener;
use Modules\User\Middlewares\OperatingMiddleware;
class CommonServiceProvider extends CatchModuleServiceProvider
{
/**
* route path
*
* @return string|array
*/
2023-01-19 15:55:38 +08:00
public function moduleName(): string|array
2023-01-11 17:17:36 +08:00
{
// TODO: Implement path() method.
2023-01-19 15:55:38 +08:00
return 'common';
2023-01-11 17:17:36 +08:00
}
}