Barryvdh\Debugbar\DataCollector\AuthCollector::getWidgets PHP Méthode

getWidgets() public méthode

public getWidgets ( )
    public function getWidgets()
    {
        $widgets = ['auth' => ['icon' => 'lock', 'widget' => 'PhpDebugBar.Widgets.VariableListWidget', 'map' => 'auth.user', 'default' => '{}']];
        if ($this->showName) {
            $widgets['auth.name'] = ['icon' => 'user', 'tooltip' => 'Auth status', 'map' => 'auth.name', 'default' => ''];
        }
        return $widgets;
    }