daily-ci-api/src/App/Action/JcatPackageFactory.php

16 lines
319 B
PHP
Raw Normal View History

2017-03-17 16:30:19 +01:00
<?php
namespace App\Action;
use App\Service\CiExecutorService;
use Interop\Container\ContainerInterface;
class JcatPackageFactory
{
public function __invoke(ContainerInterface $container)
{
$service = $container->get(CiExecutorService::class);
return new JcatPackageAction($service);
}
}