PHP Class Encore\Admin\Providers\AdminServiceProvider

Inheritance: extends Illuminate\Support\ServiceProvider
Show file Open project: z-song/laravel-admin

Protected Properties

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

Public Methods

Method Description
boot ( ) : void Boot the service provider.
register ( ) : void Register the service provider.
registerRouter ( ) : void Register admin routes.

Protected Methods

Method Description
registerCommands ( ) : void Register the commands.
registerRouteMiddleware ( ) : void Register the route middleware.
setupAuth ( ) : void Setup auth configuration.
setupClassAliases ( ) : void Setup the class aliases.

Method Details

boot() public method

Boot the service provider.
public boot ( ) : void
return void

register() public method

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

registerCommands() protected method

Register the commands.
protected registerCommands ( ) : void
return void

registerRouteMiddleware() protected method

Register the route middleware.
protected registerRouteMiddleware ( ) : void
return void

registerRouter() public method

Register admin routes.
public registerRouter ( ) : void
return void

setupAuth() protected method

Setup auth configuration.
protected setupAuth ( ) : void
return void

setupClassAliases() protected method

Setup the class aliases.
protected setupClassAliases ( ) : void
return void

Property Details

$commands protected property

protected array $commands
return array

$routeMiddleware protected property

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