Property | Type | Description | |
---|---|---|---|
$attributes | array | Schedule attributes | |
$command | Phue\Command\ActionableInterface | Command | |
$time | Phue\TimePattern\TimePatternInterface | Time pattern |
Method | Description | |
---|---|---|
__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 |
return | self | This object |
public command ( Phue\Command\ActionableInterface $command ) : self | ||
$command | Phue\Command\ActionableInterface | Actionable command |
return | self | This object |
public description ( string $description ) : self | ||
$description | string | Description |
return | self | This object |
protected ActionableInterface,Phue\Command $command | ||
return | Phue\Command\ActionableInterface |