Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix for #154 #324

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions src/Contracts/Schedule/Schedule.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php

/**
* This file is part of the Zest Framework.
*
* @author Muhammad Umer Farooq (Malik) <[email protected]>
*
* @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
{
}
21 changes: 21 additions & 0 deletions src/Contracts/Schedule/Task.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php

/**
* This file is part of the Zest Framework.
*
* @author Muhammad Umer Farooq (Malik) <[email protected]>
*
* @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
{
}
31 changes: 31 additions & 0 deletions src/Contracts/Schedule/parser/Cron.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?php

/**
* This file is part of the Zest Framework.
*
* @author Muhammad Umer Farooq (Malik) <[email protected]>
*
* @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);
}
31 changes: 31 additions & 0 deletions src/Contracts/Schedule/parser/Expression.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?php

/**
* This file is part of the Zest Framework.
*
* @author Muhammad Umer Farooq (Malik) <[email protected]>
*
* @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);
}
31 changes: 31 additions & 0 deletions src/Contracts/Schedule/parser/Scheduler.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?php

/**
* This file is part of the Zest Framework.
*
* @author Muhammad Umer Farooq (Malik) <[email protected]>
*
* @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);
}
21 changes: 21 additions & 0 deletions src/Schedule/Schedule.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php

/**
* This file is part of the Zest Framework.
*
* @author Muhammad Umer Farooq (Malik) <[email protected]>
*
* @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
{
}
21 changes: 21 additions & 0 deletions src/Schedule/Task.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php

/**
* This file is part of the Zest Framework.
*
* @author Muhammad Umer Farooq (Malik) <[email protected]>
*
* @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
{
}
21 changes: 21 additions & 0 deletions src/Schedule/parser/Cron.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php

/**
* This file is part of the Zest Framework.
*
* @author Muhammad Umer Farooq (Malik) <[email protected]>
*
* @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
{
}
21 changes: 21 additions & 0 deletions src/Schedule/parser/Expression.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php

/**
* This file is part of the Zest Framework.
*
* @author Muhammad Umer Farooq (Malik) <[email protected]>
*
* @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
{
}
21 changes: 21 additions & 0 deletions src/Schedule/parser/Scheduler.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php

/**
* This file is part of the Zest Framework.
*
* @author Muhammad Umer Farooq (Malik) <[email protected]>
*
* @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
{
}