PHP 트레잇 Overtrue\Socialite\AttributeTrait

파일 보기 프로젝트 열기: overtrue/socialite

보호된 프로퍼티들

프로퍼티 타입 설명
$attributes array

공개 메소드들

메소드 설명
__get ( $property )
getAttribute ( string $name, string $default = null ) : mixed Return the extra attribute.
getAttributes ( ) : array Return the attributes.
merge ( array $attributes ) Map the given array onto the user's properties.
offsetExists ( $offset )
offsetGet ( $offset )
offsetSet ( $offset, $value )
offsetUnset ( $offset )
setAttribute ( string $name, mixed $value ) Set extra attributes.
toArray ( ) : array Return array.
toJSON ( ) : string Return JSON.

메소드 상세

__get() 공개 메소드

public __get ( $property )

getAttribute() 공개 메소드

Return the extra attribute.
public getAttribute ( string $name, string $default = null ) : mixed
$name string
$default string
리턴 mixed

getAttributes() 공개 메소드

Return the attributes.
public getAttributes ( ) : array
리턴 array

merge() 공개 메소드

Map the given array onto the user's properties.
public merge ( array $attributes )
$attributes array

offsetExists() 공개 메소드

public offsetExists ( $offset )

offsetGet() 공개 메소드

public offsetGet ( $offset )

offsetSet() 공개 메소드

public offsetSet ( $offset, $value )

offsetUnset() 공개 메소드

public offsetUnset ( $offset )

setAttribute() 공개 메소드

Set extra attributes.
public setAttribute ( string $name, mixed $value )
$name string
$value mixed

toArray() 공개 메소드

Return array.
public toArray ( ) : array
리턴 array

toJSON() 공개 메소드

Return JSON.
public toJSON ( ) : string
리턴 string

프로퍼티 상세

$attributes 보호되어 있는 프로퍼티

protected array $attributes
리턴 array