PHP Class Arcanedev\Localization\Providers\RoutingServiceProvider

Author: ARCANEDEV ([email protected])
Inheritance: extends Illuminate\Routing\RoutingServiceProvider
Show file Open project: arcanedev/localization

Protected Properties

Property Type Description
$middleware array The application's route middleware.

Public Methods

Method Description
register ( ) : void Register the service provider.

Protected Methods

Method Description
registerRouter ( ) Register the router instance.

Private Methods

Method Description
getMiddleware ( string $name ) : boolean Get the middleware status.
registerMiddleware ( Arcanedev\Localization\Routing\Router $router, string $name, string $class ) Register a middleware.
registerMiddlewares ( ) Register the middlewares.

Method Details

register() public method

Register the service provider.
public register ( ) : void
return void

registerRouter() protected method

Register the router instance.
protected registerRouter ( )

Property Details

$middleware protected property

The application's route middleware.
protected array $middleware
return array