Свойство | Тип | Описание | |
---|---|---|---|
$actions | array | Actions | |
$conditions | array | Conditions | |
$name | string | Name |
Метод | Описание | |
---|---|---|
__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 | |
Результат | self | This object |
public addCondition ( |
||
$condition | Condition | |
Результат | self | This object |