PHP Class Barryvdh\Debugbar\ServiceProvider

Inheritance: extends Illuminate\Support\ServiceProvider
Show file Open project: barryvdh/laravel-debugbar

Protected Properties

Property Type Description
$defer boolean Indicates if loading of the provider is deferred.

Public Methods

Method Description
boot ( ) : void Bootstrap the application events.
provides ( ) : array Get the services provided by the provider.
register ( ) : void Register the service provider.

Protected Methods

Method Description
checkAppDebug ( ) Check the App Debug status
getConfigPath ( ) : string Get the config path
getRouter ( ) : Router Get the active router.
publishConfig ( string $configPath ) Publish the config file
registerMiddleware ( string $middleware ) Register the Debugbar Middleware

Method Details

boot() public method

Bootstrap the application events.
public boot ( ) : void
return void

checkAppDebug() protected method

Check the App Debug status
protected checkAppDebug ( )

getConfigPath() protected method

Get the config path
protected getConfigPath ( ) : string
return string

getRouter() protected method

Get the active router.
protected getRouter ( ) : Router
return Illuminate\Routing\Router

provides() public method

Get the services provided by the provider.
public provides ( ) : array
return array

publishConfig() protected method

Publish the config file
protected publishConfig ( string $configPath )
$configPath string

register() public method

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

registerMiddleware() protected method

Register the Debugbar Middleware
protected registerMiddleware ( string $middleware )
$middleware string

Property Details

$defer protected property

Indicates if loading of the provider is deferred.
protected bool $defer
return boolean