ModuleServiceProvider

abstract class Winter\Storm\Support\ModuleServiceProvider
extends Illuminate\Support\ServiceProvider

Extends

Properties

protected $app : Winter\Storm\Foundation\Application

The application instance.

Methods

public boot () : void

Bootstrap the application events.

Returns
void

public getModule () : string

Gets the name of this module

Returns
string

public provides () : array

Get the services provided by the provider.

Returns
array

public register () : void

Registers the Module service provider.

Returns
void

public registerConsoleCommand (string $key, string $class) : void

Registers a new console (artisan) command

Parameters
Property Description
$key
string

The command name

$class
string

The command class

Returns
void

protected loadConfigFrom (string $path, string $namespace) : void

Register a config file namespace.

Parameters
Property Description
$path
string
$namespace
string
Returns
void
Copyright © 2024 Winter CMS