diff --git a/src/Contracts/Schedule/Schedule.php b/src/Contracts/Schedule/Schedule.php new file mode 100644 index 00000000..934a825f --- /dev/null +++ b/src/Contracts/Schedule/Schedule.php @@ -0,0 +1,21 @@ + + * + * @link https://github.com/zestframework/Zest_Framework + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + * @since 3.0.0 + * + * @license MIT + */ + +namespace Zest\Contracts\Sechdule; + +interface Sechdule +{ +} diff --git a/src/Contracts/Schedule/Task.php b/src/Contracts/Schedule/Task.php new file mode 100644 index 00000000..1908381d --- /dev/null +++ b/src/Contracts/Schedule/Task.php @@ -0,0 +1,21 @@ + + * + * @link https://github.com/zestframework/Zest_Framework + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + * @since 3.0.0 + * + * @license MIT + */ + +namespace Zest\Contracts\Sechdule; + +interface Task +{ +} diff --git a/src/Contracts/Schedule/parser/Cron.php b/src/Contracts/Schedule/parser/Cron.php new file mode 100644 index 00000000..4536f326 --- /dev/null +++ b/src/Contracts/Schedule/parser/Cron.php @@ -0,0 +1,31 @@ + + * + * @link https://github.com/zestframework/Zest_Framework + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + * @since 3.0.0 + * + * @license MIT + */ + +namespace Zest\Contracts\Sechdule\Parser; + +interface Cron +{ + /** + * Parse the expression. + * + * @param array $expression Expression to be parsed. + * + * @since 3.0.0 + * + * @return mixed + */ + public function parser($expression); +} diff --git a/src/Contracts/Schedule/parser/Expression.php b/src/Contracts/Schedule/parser/Expression.php new file mode 100644 index 00000000..d20d49be --- /dev/null +++ b/src/Contracts/Schedule/parser/Expression.php @@ -0,0 +1,31 @@ + + * + * @link https://github.com/zestframework/Zest_Framework + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + * @since 3.0.0 + * + * @license MIT + */ + +namespace Zest\Contracts\Sechdule\Parser; + +interface Expression +{ + /** + * Parse the expression. + * + * @param array $expression Expression to be parsed. + * + * @since 3.0.0 + * + * @return void + */ + public function __construct($expression); +} diff --git a/src/Contracts/Schedule/parser/Scheduler.php b/src/Contracts/Schedule/parser/Scheduler.php new file mode 100644 index 00000000..a028e3de --- /dev/null +++ b/src/Contracts/Schedule/parser/Scheduler.php @@ -0,0 +1,31 @@ + + * + * @link https://github.com/zestframework/Zest_Framework + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + * @since 3.0.0 + * + * @license MIT + */ + +namespace Zest\Contracts\Sechdule\Parser; + +interface Scheduler +{ + /** + * Parse the expression. + * + * @param array $expression Expression to be parsed. + * + * @since 3.0.0 + * + * @return mixed + */ + public function parser($expression); +} diff --git a/src/Schedule/Schedule.php b/src/Schedule/Schedule.php new file mode 100644 index 00000000..f3fe1f2c --- /dev/null +++ b/src/Schedule/Schedule.php @@ -0,0 +1,21 @@ + + * + * @link https://github.com/zestframework/Zest_Framework + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + * @since 3.0.0 + * + * @license MIT + */ + +namespace Zest\Sechdule; + +class Sechdule +{ +} diff --git a/src/Schedule/Task.php b/src/Schedule/Task.php new file mode 100644 index 00000000..fbda7888 --- /dev/null +++ b/src/Schedule/Task.php @@ -0,0 +1,21 @@ + + * + * @link https://github.com/zestframework/Zest_Framework + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + * @since 3.0.0 + * + * @license MIT + */ + +namespace Zest\Sechdule; + +class Task +{ +} diff --git a/src/Schedule/parser/Cron.php b/src/Schedule/parser/Cron.php new file mode 100644 index 00000000..b7ca0d87 --- /dev/null +++ b/src/Schedule/parser/Cron.php @@ -0,0 +1,21 @@ + + * + * @link https://github.com/zestframework/Zest_Framework + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + * @since 3.0.0 + * + * @license MIT + */ + +namespace Zest\Sechdule\Parser; + +class Cron +{ +} diff --git a/src/Schedule/parser/Expression.php b/src/Schedule/parser/Expression.php new file mode 100644 index 00000000..ad2a4a32 --- /dev/null +++ b/src/Schedule/parser/Expression.php @@ -0,0 +1,21 @@ + + * + * @link https://github.com/zestframework/Zest_Framework + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + * @since 3.0.0 + * + * @license MIT + */ + +namespace Zest\Sechdule\Parser; + +class Expression +{ +} diff --git a/src/Schedule/parser/Scheduler.php b/src/Schedule/parser/Scheduler.php new file mode 100644 index 00000000..92a2c12d --- /dev/null +++ b/src/Schedule/parser/Scheduler.php @@ -0,0 +1,21 @@ + + * + * @link https://github.com/zestframework/Zest_Framework + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + * @since 3.0.0 + * + * @license MIT + */ + +namespace Zest\Sechdule\Parser; + +class Scheduler +{ +}