16 lines
341 B
PHP
16 lines
341 B
PHP
|
|
<?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);
|
||
|
|
}
|
||
|
|
}
|