D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
dateitor
/
public_html
/
vendor
/
nwidart
/
laravel-modules
/
src
/
Lumen
/
Filename :
Module.php
back
Copy
<?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 { } }