PHP 클래스 Phue\Command\UpdateRule

상속: extends CreateRule
파일 보기 프로젝트 열기: sqmk/phue 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$attributes array Rule attributes
$ruleId string Rule Id

공개 메소드들

메소드 설명
__construct ( mixed $rule ) Constructs a command
name ( string $name ) : self Set name
send ( Client $client ) Send command

메소드 상세

__construct() 공개 메소드

Constructs a command
public __construct ( mixed $rule )
$rule mixed Rule Id or Rule object

name() 공개 메소드

Set name
public name ( string $name ) : self
$name string Name
리턴 self This object

send() 공개 메소드

Send command
public send ( Client $client )
$client Phue\Client Phue Client

프로퍼티 상세

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

Rule attributes
protected array $attributes
리턴 array

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

Rule Id
protected string $ruleId
리턴 string