Barryvdh\Debugbar\DataCollector\IlluminateRouteCollector::getWidgets PHP Method

getWidgets() public method

{@inheritDoc}
public getWidgets ( )
    public function getWidgets()
    {
        $widgets = ["route" => ["icon" => "share", "widget" => "PhpDebugBar.Widgets.VariableListWidget", "map" => "route", "default" => "{}"]];
        if (Config::get('debugbar.options.route.label', true)) {
            $widgets['currentroute'] = ["icon" => "share", "tooltip" => "Route", "map" => "route.uri", "default" => ""];
        }
        return $widgets;
    }