PHP Class Barryvdh\Debugbar\DataCollector\AuthCollector

Inheritance: extends DebugBar\DataCollector\DataCollector, implements DebugBar\DataCollector\Renderable
Exibir arquivo Open project: barryvdh/laravel-debugbar Class Usage Examples

Protected Properties

Property Type Description
$auth Illuminate\Auth\AuthManager
$showName boolean

Public Methods

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

Protected Methods

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

Method Details

__construct() public method

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

collect() public method

public collect ( )

getName() public method

public getName ( )

getUserInformation() protected method

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

getWidgets() public method

public getWidgets ( )

setShowName() public method

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

Property Details

$auth protected_oe property

protected AuthManager,Illuminate\Auth $auth
return Illuminate\Auth\AuthManager

$showName protected_oe property

protected bool $showName
return boolean