23 lines
528 B
PHP
23 lines
528 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Handler;
|
|
|
|
use App\Service\JiraCollectorService;
|
|
use Interop\Container\ContainerInterface;
|
|
|
|
class KanbanHandlerFactory
|
|
{
|
|
/**
|
|
* @param ContainerInterface $container
|
|
* @return KanbanHandler
|
|
*/
|
|
public function __invoke(ContainerInterface $container)
|
|
{
|
|
/** @var JiraCollectorService $dataCollectorService */
|
|
$dataCollectorService = $container->get(JiraCollectorService::class);
|
|
return new KanbanHandler($dataCollectorService);
|
|
}
|
|
}
|