catchAdmin/modules/Common/Providers/CommonServiceProvider.php

24 lines
540 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
*/
public function routePath(): string|array
{
// TODO: Implement path() method.
return CatchAdmin::getModuleRoutePath('common');
}
}