PHP Class Barryvdh\Debugbar\DataCollector\AuthCollector

Inheritance: extends DebugBar\DataCollector\DataCollector, implements DebugBar\DataCollector\Renderable
Afficher le fichier Open project: barryvdh/laravel-debugbar Class Usage Examples

Protected Properties

Свойство Type Description
$auth Illuminate\Auth\AuthManager
$showName boolean

Méthodes publiques

Méthode Description
__construct ( Illuminate\Auth\AuthManager $auth )
collect ( )
getName ( )
getWidgets ( )
setShowName ( boolean $showName ) Set to show the users name/email

Méthodes protégées

Méthode Description
getUserInformation ( Illuminate\Auth\UserInterface $user = null ) : array Get displayed user information

Method Details

__construct() public méthode

public __construct ( Illuminate\Auth\AuthManager $auth )
$auth Illuminate\Auth\AuthManager

collect() public méthode

public collect ( )

getName() public méthode

public getName ( )

getUserInformation() protected méthode

Get displayed user information
protected getUserInformation ( Illuminate\Auth\UserInterface $user = null ) : array
$user Illuminate\Auth\UserInterface
Résultat array

getWidgets() public méthode

public getWidgets ( )

setShowName() public méthode

Set to show the users name/email
public setShowName ( boolean $showName )
$showName boolean

Property Details

$auth protected_oe property

protected AuthManager,Illuminate\Auth $auth
Résultat Illuminate\Auth\AuthManager

$showName protected_oe property

protected bool $showName
Résultat boolean