1234567891011121314151617181920212223242526272829303132 |
- <?php
- namespace Modules\CpManage\Providers;
- use Catch\Providers\CatchModuleServiceProvider;
- use Modules\CpManage\Middlewares\DaunJuGate;
- class CpManageServiceProvider extends CatchModuleServiceProvider
- {
- /**
- * middlewares
- *
- * @return string[]
- */
- protected function middlewares(): array
- {
- return [DaunJuGate::class];
- }
- /**
- * route path
- *
- * @return string|array
- */
- public function moduleName(): string|array
- {
- // TODO: Implement path() method.
- return 'cpManage';
- }
- }
|