PHP Class Phue\Command\UpdateRule

Inheritance: extends CreateRule
Afficher le fichier Open project: sqmk/phue Class Usage Examples

Protected Properties

Свойство Type Description
$attributes array Rule attributes
$ruleId string Rule Id

Méthodes publiques

Méthode Description
__construct ( mixed $rule ) Constructs a command
name ( string $name ) : self Set name
send ( Client $client ) Send command

Method Details

__construct() public méthode

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

name() public méthode

Set name
public name ( string $name ) : self
$name string Name
Résultat self This object

send() public méthode

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

Property Details

$attributes protected_oe property

Rule attributes
protected array $attributes
Résultat array

$ruleId protected_oe property

Rule Id
protected string $ruleId
Résultat string