Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
vendor
/
invoiceshelf
/
modules
/
src
/
Migrations
:
Module-20250318151945.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace Nwidart\Modules\Lumen; use Illuminate\Support\Str; use Nwidart\Modules\Module as BaseModule; class Module extends BaseModule { /** * {@inheritdoc} */ public function getCachedServicesPath(): string { return Str::replaceLast('services.php', $this->getSnakeName() . '_module.php', $this->app->basePath('storage/app/') . 'services.php'); } /** * {@inheritdoc} */ public function registerProviders(): void { foreach ($this->get('providers', []) as $provider) { $this->app->register($provider); } } /** * {@inheritdoc} */ public function registerAliases(): void { } }