20 lines
413 B
Plaintext
20 lines
413 B
Plaintext
![]() |
<?php
|
||
|
|
||
|
namespace Modules\{Module}\Providers;
|
||
|
|
||
|
use Catch\CatchAdmin;
|
||
|
use Catch\Providers\CatchModuleServiceProvider;
|
||
|
|
||
|
class {Module}ServiceProvider extends CatchModuleServiceProvider
|
||
|
{
|
||
|
/**
|
||
|
* route path
|
||
|
*
|
||
|
* @return string|array
|
||
|
*/
|
||
|
public function routePath(): string|array
|
||
|
{
|
||
|
// TODO: Implement path() method.
|
||
|
return CatchAdmin::getModuleRoutePath('{module}');
|
||
|
}
|
||
|
}
|