mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 13:57:10 +02:00
Added workflow draft
This commit is contained in:
23
application/src/Controller/workflow/WorkflowInterface.php
Normal file
23
application/src/Controller/workflow/WorkflowInterface.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
namespace App\Controller\workflow;
|
||||
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
use App\Entity\NodeInterface;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author kevinfrantz
|
||||
*
|
||||
*/
|
||||
interface WorkflowInterface
|
||||
{
|
||||
public function setWorker(NodeInterface $worker):void;
|
||||
|
||||
public function setReguest(Request $request):void;
|
||||
|
||||
public function work():void;
|
||||
|
||||
public function getReponse():Response;
|
||||
}
|
||||
|
Reference in New Issue
Block a user