Skip to content

Commit d2be591

Browse files
committed
Moved RunnableInterface and SchedulingInterface
from pipeline contracts to satellite contracts
1 parent c7225e0 commit d2be591

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/SchedulingInterface.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
namespace Kiboko\Contract\Satellite;
6+
7+
use Kiboko\Contract\Satellite\CodeInterface;
8+
use Kiboko\Contract\Satellite\RunnableInterface;
9+
10+
interface SchedulingInterface
11+
{
12+
public function job(CodeInterface $job, RunnableInterface $runnable): self;
13+
}

0 commit comments

Comments
 (0)