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