Property | Type | Description | |
---|---|---|---|
$actions | array | Actions | |
$conditions | array | Conditions | |
$name | string | Name |
Method | Description | |
---|---|---|
__construct ( string $name = '' ) | Constructs a command | |
addAction ( Phue\Command\ActionableInterface $command ) : self | Add actionable command | |
addCondition ( |
Add condition | |
name ( string $name ) : self | Set name | |
send ( |
Send command |
public __construct ( string $name = '' ) | ||
$name | string | Name |
public addAction ( Phue\Command\ActionableInterface $command ) : self | ||
$command | Phue\Command\ActionableInterface | |
return | self | This object |
public addCondition ( |
||
$condition | Condition | |
return | self | This object |