taurus-api/src/App/Action/KanbanFactory.php

16 lines
341 B
PHP
Raw Normal View History

2017-07-31 15:50:48 +02:00
<?php
namespace App\Action;
use App\Service\JiraCollectorService;
2017-07-31 15:50:48 +02:00
use Interop\Container\ContainerInterface;
class KanbanFactory
{
public function __invoke(ContainerInterface $container)
{
$dataCollectorService = $container->get(JiraCollectorService::class);
2017-07-31 15:50:48 +02:00
return new KanbanAction($dataCollectorService);
}
}