mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-12 10:18:39 +00:00
67 lines
1.5 KiB
PHP
67 lines
1.5 KiB
PHP
<?php
|
|
/**
|
|
* Orange Management
|
|
*
|
|
* PHP Version 7.1
|
|
*
|
|
* @category TBD
|
|
* @package TBD
|
|
* @copyright Dennis Eichhorn
|
|
* @license OMS License 1.0
|
|
* @version 1.0.0
|
|
* @link http://website.orange-management.de
|
|
*/
|
|
declare(strict_types = 1);
|
|
|
|
namespace phpOMS\Utils\TaskSchedule;
|
|
|
|
/**
|
|
* Schedule class.
|
|
*
|
|
* @category Framework
|
|
* @package phpOMS\Utils\TaskSchedule
|
|
* @license OMS License 1.0
|
|
* @link http://website.orange-management.de
|
|
* @since 1.0.0
|
|
*/
|
|
class Schedule extends TaskAbstract implements \Serializable
|
|
{
|
|
/**
|
|
* Constructor.
|
|
*
|
|
* @param string $name Schedule name
|
|
* @param string $cmd Command to execute
|
|
*
|
|
* @since 1.0.0
|
|
*/
|
|
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.
|
|
}
|
|
}
|