Larabros\Elogram\Providers\MiddlewareServiceProvider¶
-
class
MiddlewareServiceProvider¶ Adds any middleware to the project.
-
property
provides¶ protected array
The provides array is a way to let the container know that a service is provided by this service provider. Every service that is registered via this service provider must have an alias added to this array or it will be ignored.
-
register()¶ Use the register method to register items with the container via the protected
$this->containerproperty or thegetContainermethod from theContainerAwareTrait.Returns: void
-
addMiddleware()¶
-
property