mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 09:48:40 +00:00
70 lines
1.7 KiB
PHP
70 lines
1.7 KiB
PHP
<?php
|
|
/**
|
|
* Orange Management
|
|
*
|
|
* PHP Version 7.0
|
|
*
|
|
* @category TBD
|
|
* @package TBD
|
|
* @author OMS Development Team <dev@oms.com>
|
|
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
* @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 <dev@oms.com>
|
|
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
|
* @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 <d.eichhorn@oms.com>
|
|
*/
|
|
public function __construct(string $name, string $cmd = '')
|
|
{
|
|
parent::__construct($name, $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 <p>
|
|
* The string representation of the object.
|
|
* </p>
|
|
* @return void
|
|
* @since 5.1.0
|
|
*/
|
|
public function unserialize($serialized)
|
|
{
|
|
// TODO: Implement unserialize() method.
|
|
}
|
|
}
|