Свойство | Тип | Описание | |
---|---|---|---|
$attributes | array | Schedule attributes | |
$command | Phue\Command\ActionableInterface | Command | |
$time | Phue\TimePattern\TimePatternInterface | Time pattern |
Метод | Описание | |
---|---|---|
__construct ( string $name = null, mixed $time = null, Phue\Command\ActionableInterface $command = null ) | Constructs a create schedule command | |
autodelete ( boolean $flag ) : self | Set autodelete | |
command ( Phue\Command\ActionableInterface $command ) : self | Set command | |
description ( string $description ) : self | Set description | |
name ( string $name ) : self | Set name | |
send ( |
Send command | |
status ( $status ) : self | Set status | |
time ( string $time ) : self | Set time |
public __construct ( string $name = null, mixed $time = null, Phue\Command\ActionableInterface $command = null ) | ||
$name | string | Name of schedule |
$time | mixed | Time to run command |
$command | Phue\Command\ActionableInterface | Actionable command |
public autodelete ( boolean $flag ) : self | ||
$flag | boolean | Flag |
Результат | self | This object |
public command ( Phue\Command\ActionableInterface $command ) : self | ||
$command | Phue\Command\ActionableInterface | Actionable command |
Результат | self | This object |
public description ( string $description ) : self | ||
$description | string | Description |
Результат | self | This object |
protected ActionableInterface,Phue\Command $command | ||
Результат | Phue\Command\ActionableInterface |