Initial commit
This commit is contained in:
15
src/App/Action/KanbanFactory.php
Normal file
15
src/App/Action/KanbanFactory.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace App\Action;
|
||||
|
||||
use App\Service\DataCollectorService;
|
||||
use Interop\Container\ContainerInterface;
|
||||
|
||||
class KanbanFactory
|
||||
{
|
||||
public function __invoke(ContainerInterface $container)
|
||||
{
|
||||
$dataCollectorService = $container->get(DataCollectorService::class);
|
||||
return new KanbanAction($dataCollectorService);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user