* @author Dennis Eichhorn * @copyright 2013 Dennis Eichhorn * @license OMS License 1.0 * @version 1.0.0 * @link http://orange-management.com */ namespace phpOMS\Utils\TaskSchedule; /** * Schedule class. * * @category Framework * @package phpOMS\Utils\TaskSchedule * @author OMS Development Team * @author Dennis Eichhorn * @license OMS License 1.0 * @link http://orange-management.com * @since 1.0.0 */ class Schedule extends TaskAbstract implements \Serializable { /** * Constructor. * * @param Interval $interval Interval * @param string $cmd Command to execute * * @since 1.0.0 * @author Dennis Eichhorn */ public function __construct(Interval $interval = null, string $cmd = '') { if (!isset($interval)) { $this->interval = new Interval(); } else { $this->interval = $interval; } $this->command = $cmd; } /** * String representation of object * @link http://php.net/manual/en/serializable.serialize.php * @return string the string representation of the object or null * @since 5.1.0 */ public function serialize() { // TODO: Implement serialize() method. } /** * Constructs the object * @link http://php.net/manual/en/serializable.unserialize.php * @param string $serialized

* The string representation of the object. *

* @return void * @since 5.1.0 */ public function unserialize($serialized) { // TODO: Implement unserialize() method. } }