PHP Class Barryvdh\Debugbar\LumenServiceProvider

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

Protected Properties

Property Type Description
$app Laravel\Lumen\Application

Public Methods

Method Description
provides ( ) : array Get the services provided by the provider.

Protected Methods

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

Method Details

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 ( ) : Application
return Laravel\Lumen\Application

provides() public method

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

registerMiddleware() protected method

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

Property Details

$app protected property

protected Application,Laravel\Lumen $app
return Laravel\Lumen\Application