\Overtrue\SocialiteHasAttributes

Trait HasAttributes.

Summary

Methods
Properties
Constants
getAttributes()
getAttribute()
setAttribute()
merge()
offsetExists()
offsetGet()
offsetSet()
offsetUnset()
__get()
toArray()
toJSON()
No public properties found
No constants found
No protected methods found
$attributes
N/A
No private methods found
No private properties found
N/A

Properties

$attributes

$attributes : array

Type

array

Methods

getAttributes()

getAttributes() : array

Return the attributes.

Returns

array

getAttribute()

getAttribute(string  $name, string  $default = null) : mixed

Return the extra attribute.

Parameters

string $name
string $default

Returns

mixed

setAttribute()

setAttribute(string  $name, mixed  $value) : $this

Set extra attributes.

Parameters

string $name
mixed $value

Returns

$this

merge()

merge(array  $attributes) : $this

Map the given array onto the user's properties.

Parameters

array $attributes

Returns

$this

offsetExists()

offsetExists(  $offset) 

{@inheritdoc}

Parameters

$offset

offsetGet()

offsetGet(  $offset) 

{@inheritdoc}

Parameters

$offset

offsetSet()

offsetSet(  $offset,   $value) 

{@inheritdoc}

Parameters

$offset
$value

offsetUnset()

offsetUnset(  $offset) 

{@inheritdoc}

Parameters

$offset

__get()

__get(  $property) 

{@inheritdoc}

Parameters

$property

toArray()

toArray() : array

Return array.

Returns

array

toJSON()

toJSON() : string

Return JSON.

Returns

string