PHP 클래스 Phue\User

파일 보기 프로젝트 열기: sqmk/phue

보호된 프로퍼티들

프로퍼티 타입 설명
$attributes stdClass Attributes
$client Client Phue client
$username string Username

공개 메소드들

메소드 설명
__construct ( string $username, stdClass $attributes, Client $client ) Construct a User object
__toString ( ) : string __toString
delete ( ) Delete user
getCreateDate ( ) : string Get create date
getDeviceType ( ) : string Get device type
getLastUseDate ( ) : string Get last use date
getUsername ( ) : string Get username

메소드 상세

__construct() 공개 메소드

Construct a User object
public __construct ( string $username, stdClass $attributes, Client $client )
$username string Username
$attributes stdClass User attributes
$client Client Phue client

__toString() 공개 메소드

__toString
public __toString ( ) : string
리턴 string Username

delete() 공개 메소드

Delete user
public delete ( )

getCreateDate() 공개 메소드

Get create date
public getCreateDate ( ) : string
리턴 string Create date

getDeviceType() 공개 메소드

Get device type
public getDeviceType ( ) : string
리턴 string Device type

getLastUseDate() 공개 메소드

Get last use date
public getLastUseDate ( ) : string
리턴 string Last use date

getUsername() 공개 메소드

Get username
public getUsername ( ) : string
리턴 string Username

프로퍼티 상세

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

Attributes
protected stdClass $attributes
리턴 stdClass

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

Phue client
protected Client,phue $client
리턴 Client

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

Username
protected string $username
리턴 string