Skip to content

Commit 2ff8b24

Browse files
committed
fix for #154
1 parent db2567c commit 2ff8b24

File tree

10 files changed

+249
-0
lines changed

10 files changed

+249
-0
lines changed

src/Contracts/Schedule/Schedule.php

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?php
2+
3+
/**
4+
* This file is part of the Zest Framework.
5+
*
6+
* @author Muhammad Umer Farooq (Malik) <[email protected]>
7+
*
8+
* @link https://github.com/zestframework/Zest_Framework
9+
*
10+
* For the full copyright and license information, please view the LICENSE
11+
* file that was distributed with this source code.
12+
* @since 3.0.0
13+
*
14+
* @license MIT
15+
*/
16+
17+
namespace Zest\Contracts\Sechdule;
18+
19+
interface Sechdule
20+
{
21+
22+
}

src/Contracts/Schedule/Task.php

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?php
2+
3+
/**
4+
* This file is part of the Zest Framework.
5+
*
6+
* @author Muhammad Umer Farooq (Malik) <[email protected]>
7+
*
8+
* @link https://github.com/zestframework/Zest_Framework
9+
*
10+
* For the full copyright and license information, please view the LICENSE
11+
* file that was distributed with this source code.
12+
* @since 3.0.0
13+
*
14+
* @license MIT
15+
*/
16+
17+
namespace Zest\Contracts\Sechdule;
18+
19+
interface Task
20+
{
21+
22+
}
+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<?php
2+
3+
/**
4+
* This file is part of the Zest Framework.
5+
*
6+
* @author Muhammad Umer Farooq (Malik) <[email protected]>
7+
*
8+
* @link https://github.com/zestframework/Zest_Framework
9+
*
10+
* For the full copyright and license information, please view the LICENSE
11+
* file that was distributed with this source code.
12+
* @since 3.0.0
13+
*
14+
* @license MIT
15+
*/
16+
17+
namespace Zest\Contracts\Sechdule\Parser;
18+
19+
interface Cron
20+
{
21+
/**
22+
* Parse the expression.
23+
*
24+
* @param array $expression Expression to be parsed.
25+
*
26+
* @since 3.0.0
27+
*
28+
* @return mixed
29+
*/
30+
public function parser($expression);
31+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<?php
2+
3+
/**
4+
* This file is part of the Zest Framework.
5+
*
6+
* @author Muhammad Umer Farooq (Malik) <[email protected]>
7+
*
8+
* @link https://github.com/zestframework/Zest_Framework
9+
*
10+
* For the full copyright and license information, please view the LICENSE
11+
* file that was distributed with this source code.
12+
* @since 3.0.0
13+
*
14+
* @license MIT
15+
*/
16+
17+
namespace Zest\Contracts\Sechdule\Parser;
18+
19+
interface Expression
20+
{
21+
22+
/**
23+
* Parse the expression.
24+
*
25+
* @param array $expression Expression to be parsed.
26+
*
27+
* @since 3.0.0
28+
*
29+
* @return void
30+
*/
31+
public function __construct($expression);
32+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<?php
2+
3+
/**
4+
* This file is part of the Zest Framework.
5+
*
6+
* @author Muhammad Umer Farooq (Malik) <[email protected]>
7+
*
8+
* @link https://github.com/zestframework/Zest_Framework
9+
*
10+
* For the full copyright and license information, please view the LICENSE
11+
* file that was distributed with this source code.
12+
* @since 3.0.0
13+
*
14+
* @license MIT
15+
*/
16+
17+
namespace Zest\Contracts\Sechdule\Parser;
18+
19+
interface Scheduler
20+
{
21+
22+
/**
23+
* Parse the expression.
24+
*
25+
* @param array $expression Expression to be parsed.
26+
*
27+
* @since 3.0.0
28+
*
29+
* @return mixed
30+
*/
31+
public function parser($expression);
32+
}

src/Schedule/Schedule.php

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?php
2+
3+
/**
4+
* This file is part of the Zest Framework.
5+
*
6+
* @author Muhammad Umer Farooq (Malik) <[email protected]>
7+
*
8+
* @link https://github.com/zestframework/Zest_Framework
9+
*
10+
* For the full copyright and license information, please view the LICENSE
11+
* file that was distributed with this source code.
12+
* @since 3.0.0
13+
*
14+
* @license MIT
15+
*/
16+
17+
namespace Zest\Sechdule;
18+
19+
class Sechdule
20+
{
21+
22+
}

src/Schedule/Task.php

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?php
2+
3+
/**
4+
* This file is part of the Zest Framework.
5+
*
6+
* @author Muhammad Umer Farooq (Malik) <[email protected]>
7+
*
8+
* @link https://github.com/zestframework/Zest_Framework
9+
*
10+
* For the full copyright and license information, please view the LICENSE
11+
* file that was distributed with this source code.
12+
* @since 3.0.0
13+
*
14+
* @license MIT
15+
*/
16+
17+
namespace Zest\Sechdule;
18+
19+
class Task
20+
{
21+
22+
}

src/Schedule/parser/Cron.php

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?php
2+
3+
/**
4+
* This file is part of the Zest Framework.
5+
*
6+
* @author Muhammad Umer Farooq (Malik) <[email protected]>
7+
*
8+
* @link https://github.com/zestframework/Zest_Framework
9+
*
10+
* For the full copyright and license information, please view the LICENSE
11+
* file that was distributed with this source code.
12+
* @since 3.0.0
13+
*
14+
* @license MIT
15+
*/
16+
17+
namespace Zest\Sechdule\Parser;
18+
19+
class Cron
20+
{
21+
22+
}

src/Schedule/parser/Expression.php

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?php
2+
3+
/**
4+
* This file is part of the Zest Framework.
5+
*
6+
* @author Muhammad Umer Farooq (Malik) <[email protected]>
7+
*
8+
* @link https://github.com/zestframework/Zest_Framework
9+
*
10+
* For the full copyright and license information, please view the LICENSE
11+
* file that was distributed with this source code.
12+
* @since 3.0.0
13+
*
14+
* @license MIT
15+
*/
16+
17+
namespace Zest\Sechdule\Parser;
18+
19+
class Expression
20+
{
21+
22+
}

src/Schedule/parser/Scheduler.php

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?php
2+
3+
/**
4+
* This file is part of the Zest Framework.
5+
*
6+
* @author Muhammad Umer Farooq (Malik) <[email protected]>
7+
*
8+
* @link https://github.com/zestframework/Zest_Framework
9+
*
10+
* For the full copyright and license information, please view the LICENSE
11+
* file that was distributed with this source code.
12+
* @since 3.0.0
13+
*
14+
* @license MIT
15+
*/
16+
17+
namespace Zest\Sechdule\Parser;
18+
19+
class Scheduler
20+
{
21+
22+
}

0 commit comments

Comments
 (0)